PageSourceSearch

https://allpackaging.com/_next/static/chunks/8409.3c4e0bc031ad551d.js

js allpackaging.com collected 2026-10-04 05:00:22 UTC 43,592 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8409,8925],{695:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(30280).A)("SquareSplitHorizontal",[["path",{d:"M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3",key:"lubmu8"}],["path",{d:"M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3",key:"1ag34g"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]])},10947:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(30280).A)("PaintBucket",[["path",{d:"m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z",key:"irua1i"}],["path",{d:"m5 2 5 5",key:"1lls2c"}],["path",{d:"M2 13h15",key:"1hkzvu"}],["path",{d:"M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z",key:"xk76lq"}]])},12543:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(30280).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},19968:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(30280).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},28044:(e,r,t)=>{t.d(r,{XA:()=>h,ZB:()=>a,cM:()=>d});
1var l=t(95155),o=t(59618),i=t(74466),n=t(19433);let a=(0,i.F)((0,n.cn)("top-0 flex w-6 select-none flex-col justify-center","after:flex after:h-16 after:w-[3px] after:rounded-[6px] after:bg-ring after:opacity-0 after:content-['_'] group-hover:after:opacity-100"),{variants:{direction:{left:"-left-3 -ml-3 pl-3",right:"-right-3 -mr-3 items-end pr-3"}}}),s=(0,i.F)("absolute z-40",{variants:{direction:{bottom:"w-full cursor-row-resize",left:"h-full cursor-col-resize",right:"h-full cursor-col-resize",top:"w-full cursor-row-resize"}}});function h(e){let{className:r,options:t,...i}=e,a=(0,o.rw)(t??{}),h=(0,o.ud)(a);return a.readOnly?null:(0,l.jsx)("div",{className:(0,n.cn)(s({direction:null==t?void 0:t.direction}),r),"data-resizing":a.isResizing,...h.props,...i})}let c=(0,i.F)("",{variants:{align:{center:"mx-auto",left:"mr-auto",right:"ml-auto"}}});function d(e){let{align:r,className:t,...i}=e;return(0,l.jsx)(o.cM,{...i,className:(0,n.cn)(c({align:r}),t)})}},30627:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(30280).A)("Combine",[["path",{d:"M10 18H5a3 3 0 0 1-3-3v-1",key:"ru65g8"}],["path",{d:"M14 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"e30een"}],["path",{d:"M20 2a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2",key:"2ahx8o"}],["path",{d:"m7 21 3-3-3-3",key:"127cv2"}],["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}]])},47326:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(30280).A)("Eraser",[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]])},48925:(e,r,t)=>{t.d(r,{Popover:()=>n,PopoverContent:()=>s,PopoverTrigger:()=>a,d:()=>h});var l=t(95155),o=t(35001),i=t(19433);function n(e){let{...r}=e;return(0,l.jsx)(o.bL,{"data-slot":"popover",...r})}function a(e){let{...r}=e;return(0,l.jsx)(o.l9,{"data-slot":"popover-trigger",...r})}function s(e){let{className:r,align:t="center",sideOffset:n=4,...a}=e;return(0,l.jsx)(o.ZL,{children:(0,l.jsx)(o.UC,{align:t,className:(0,i.cn)("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[110] w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=closed]:animate-out data-[state=open]:animate-in",r),"data-slot":"popover-content",sideOffset:n,...a})})}function h(e){let{...r}=e;return(0,l.jsx)(o.Mz,{"data-slot":"popover-anchor",...r})}},59902:(e,r,t)=>{t.d(r,{$2:()=>F,SK:()=>A,SM:()=>h,Sn:()=>b,W6:()=>f,Xk:()=>j,_K:()=>u,ao:()=>d,eh:()=>B,l4:()=>x,lH:()=>C,pw:()=>y});var l=t(30190),o=t(51110),i=t(19749),n=t(16015),a=t(3826),s=t(12115);let h=()=>{let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,n.QR)(c,e)};function c(e){return e.api.string([])}let d=e=>{if(!e)return{props:{}};let{preventDefaultOnEnterKeydown:r}=e,t=e=>{("Enter"===e.key||13===e.keyCode)&&e.preventDefault()};return{props:{onKeyDownCapture:r?e=>t(e):void 0}}},x=e=>{let r,t,l,o=(0,i.c)(7),{clear:a,nodeType:s}=e;o[0]!==s?(r=e=>e.api.hasMark(s),t=[s],o[0]=s,o[1]=r,o[2]=t):(r=o[1],t=o[2]);let h=(0,n.QR)(r,t);return o[3]!==a||o[4]!==s||o[5]!==h?(l={clear:a,nodeType:s,pressed:h},o[3]=a,o[4]=s,o[5]=h,o[6]=l):l=o[6],l},u=e=>{let r,t,l=(0,i.c)(7),o=(0,n.Q_)();return l[0]!==o||l[1]!==e.clear||l[2]!==e.nodeType?(r=()=>{o.tf.toggleMark(e.nodeType,{remove:e.clear}),o.tf.focus()},l[0]=o,l[1]=e.clear,l[2]=e.nodeType,l[3]=r):r=l[3],l[4]!==e.pressed||l[5]!==r?(t={props:{pressed:e.pressed,onClick:r,onMouseDown:g}},l[4]=e.pressed,l[5]=r,l[6]=t):t=l[6],t};function g(e){e.preventDefault()}let f=e=>{let r,t=(0,i.c)(3),{element:l}=e,o=(0,n.Q_)();return t[0]!==o||t[1]!==l?(r={props:{onClick:()=>{let e=o.api.findPath(l);o.tf.removeNodes({at:e})},onMouseDown:m}},t[0]=o,t[1]=l,t[2]=r):r=t[2],r};function m(e){e.preventDefault()}function C(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,n.QR)(p,e)}function p(e){return!e.api.isExpanded()}function j(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,n.QR)(w,e)}function w(e){return e.api.isExpanded()}function b(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,n.QR)(v,e)}function v(e){return e.api.isAt({block:!0})}function y(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,n.QR)(k,e)}function k(e){return e.api.isAt({blocks:!0})}let B=()=>{let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,n.QR)(D,e)},F=e=>{let r,t,l,a=(0,i.c)(5);a[0]!==e?(r=void 0===e?{}:e,a[0]=e,a[1]=r):r=a[1];let s=r;return a[2]!==s?(t=e=>{let r=e.api.fragment(e.selection,{unwrap:(0,o.Rt)(e)});return e.api.prop({nodes:r,...s})},a[2]=s,a[3]=t):t=a[3],a[4]===Symbol.for("react.memo_cache_sentinel")?(l=[],a[4]=l):l=a[4],(0,n.QR)(t,l)};function D(e){return e.api.fragment(e.selection,{unwrap:(0,o.Rt)(e)})}let A=(0,n.e3)({key:l.t.blockPlaceholder,editOnly:!0,options:{_target:null,placeholders:{[l.t.p]:"Type something..."},query:({path:e})=>1===e.length},useHooks:e=>{let{editor:r,getOptions:t,setOption:l}=e,o=(0,a.zL)(),i=(0,n.fu)(),h=(0,n.iA)(),c=(0,n.QR)(()=>i||h||!o||!r.selection||r.api.isExpanded()?null:r.api.block(),[i,h,o]);s.useEffect(()=>{if(!c)return void l("_target",null);let{placeholders:o,query:i}=t(),[n,a]=c,s=Object.keys(o).find(e=>r.getType(e)===n.type);i({...e,node:n,path:a})&&s&&r.api.isEmpty(n)&&!r.api.isEmpty()?l("_target",{node:n,placeholder:o[s]}):l("_target",null)},[r,c,l,t])}}).extendSelectors(({getOption:e})=>({placeholder:r=>{let t=e("_target");if(t?.node===r)return t.placeholder}})).extend({inject:{isBlock:!0,nodeProps:{transformProps:e=>{let r=(0,n.gO)(e.plugin,"placeholder",e.element);if(r)return{className:e.getOption("className"),placeholder:r}}}}})},68409:(e,r,t)=>{t.d(r,{TableCellElement:()=>ed,TableCellHeaderElement:()=>ex,TableElement:()=>eo,TableRowElement:()=>es});var l,o=t(95155),i=t(60835),n=t(9307),a=t(46073);let s=(e,r)=>{let{color:t,selectedCells:l}=r;if(l&&l.length>0)return void l.forEach(r=>{let l=e.api.findPath(r);l&&e.tf.setNodes({background:t},{at:l})});let o=e.api.node({match:{type:(0,a.st)(e)}})?.[0];if(o){let r=e.api.findPath(o);r&&e.tf.setNodes({background:t},{at:r})}};var h=t(37533),c=t(74466),d=t(10947),x=t(30627),u=t(695),g=t(90967),f=t(77223),m=t(2
10203),C=t(73926),p=t(25318),j=t(12543),w=t(19968),b=t(47326),v=t(40295),y=t(73046),k=t(30190),B=t(16015),F=t(3826),D=t(59902),A=t(66342),z=t(12115),E=t(21978),N=t(29303),M=t(48925),_=t(19433);let S=(0,c.F)("pointer-events-none absolute inset-0 z-1 bg-brand/[.13] transition-opacity",{defaultVariants:{active:!0},variants:{active:{false:"opacity-0",true:"opacity-100"}}});var R=t(23859);function L(e){let{className:r,isBrightColor:t,isSelected:l,name:i,updateColor:n,value:a,...s}=e,h=(0,o.jsx)(N.DropdownMenuItem,{className:(0,_.cn)((0,E.r)({size:"icon",variant:"outline"}),"my-1 flex size-6 items-center justify-center rounded-full border border-muted border-solid p-0 transition-all hover:scale-125",!t&&"border-transparent",l&&"border-2 border-primary",r),onSelect:e=>{e.preventDefault(),n(a)},style:{backgroundColor:a},...s});return i?(0,o.jsxs)(R.m_,{children:[(0,o.jsx)(R.k$,{children:h}),(0,o.jsx)(R.ZI,{className:"mb-1 capitalize",children:i})]}):h}function Q(e){let{className:r,color:t,colors:l,updateColor:i,...n}=e;return(0,o.jsx)("div",{className:(0,_.cn)("grid grid-cols-[repeat(10,1fr)] place-items-center gap-x-1",r),...n,children:(0,o.jsxs)(R.Bc,{children:[l.map(e=>{let{isBrightColor:r,name:l,value:n}=e;return(0,o.jsx)(L,{isBrightColor:r,isSelected:t===n,name:l,updateColor:i,value:n},l??n)}),n.children]})})}let T=[{isBrightColor:!1,name:"black",value:"#000000"},{isBrightColor:!1,name:"dark grey 4",value:"#434343"},{isBrightColor:!1,name:"dark grey 3",value:"#666666"},{isBrightColor:!1,name:"dark grey 2",value:"#999999"},{isBrightColor:!1,name:"dark grey 1",value:"#B7B7B7"},{isBrightColor:!1,name:"grey",value:"#CCCCCC"},{isBrightColor:!1,name:"light grey 1",value:"#D9D9D9"},{isBrightColor:!0,name:"light grey 2",value:"#EFEFEF"},{isBrightColor:!0,name:"light grey 3",value:"#F3F3F3"},{isBrightColor:!0,name:"white",value:"#FFFFFF"},{isBrightColor:!1,name:"red berry",value:"#980100"},{isBrightColor:!1,name:"red",value:"#FE0000"},{isBrightColor:!1,name:"orange",value:"#FE9900"},{isBrightColor:!0,name:"yellow",value:"#FEFF00"},{isBrightColor:!1,name:"green",value:"#00FF00"},{isBrightColor:!1,name:"cyan",value:"#00FFFF"},{isBrightColor:!1,name:"cornflower blue",value:"#4B85E8"},{isBrightColor:!1,name:"blue",value:"#1300FF"},{isBrightColor:!1,name:"purple",value:"#9900FF"},{isBrightColor:!1,name:"magenta",value:"#FF00FF"},{isBrightColor:!1,name:"light red berry 3",value:"#E6B8AF"},{isBrightColor:!1,name:"light red 3",value:"#F4CCCC"},{isBrightColor:!0,name:"light orange 3",value:"#FCE4CD"},{isBrightColor:!0,name:"light yellow 3",value:"#FFF2CC"},{isBrightColor:!0,name:"light green 3",value:"#D9EAD3"},{isBrightColor:!1,name:"light cyan 3",value:"#D0DFE3"},{isBrightColor:!1,name:"light cornflower blue 3",value:"#C9DAF8"},{isBrightColor:!0,name:"light blue 3",value:"#CFE1F3"},{isBrightColor:!0,name:"light purple 3",value:"#D9D2E9"},{isBrightColor:!0,name:"light magenta 3",value:"#EAD1DB"},{isBrightColor:!1,name:"light red berry 2",value:"#DC7E6B"},{isBrightColor:!1,name:"light red 2",value:"#EA9999"},{isBrightColor:!1,name:"light orange 2",value:"#F9CB9C"},{isBrightColor:!0,name:"light yellow 2",value:"#FFE598"},{isBrightColor:!1,name:"light green 2",value:"#B7D6A8"},{isBrightColor:!1,name:"light cyan 2",value:"#A1C4C9"},{isBrightColor:!1,name:"light cornflower blue 2",value:"#A4C2F4"},{isBrightColor:!1,name:"light blue 2",value:"#9FC5E8"},{isBrightColor:!1,name:"light purple 2",value:"#B5A7D5"},{isBrightColor:!1,name:"light magenta 2",value:"#D5A6BD"},{isBrightColor:!1,name:"light red berry 1",value:"#CC4125"},{isBrightColor:!1,name:"light red 1",value:"#E06666"},{isBrightColor:!1,name:"light orange 1",value:"#F6B26B"},{isBrightColor:!1,name:"light yellow 1",value:"#FFD966"},{isBrightColor:!1,name:"light green 1",value:"#93C47D"},{isBrightColor:!1,name:"light cyan 1",value:"#76A5AE"},{isBrightColor:!1,name:"light cornflower blue 1",value:"#6C9EEB"},{isBrightColor:!1,name:"light blue 1",value:"#6FA8DC"},{isBrightColor:!1,name:"light purple 1",value:"#8D7CC3"},{isBrightColor:!1,name:"light magenta 1",value:"#C27BA0"},{isBrightColor:!1,name:"dark red berry 1",value:"#A61B00"},{isBrightColor:!1,name:"dark red 1",value:"#CC0000"},{isBrightColor:!1,name:"dark orange 1",value:"#E59138"},{isBrightColor:!1,name:"dark yellow 1",value:"#F1C231"},{isBrightColor:!1,name:"dark green 1",value:"#6AA74F"},{isBrightColor:!1,name:"dark cyan 1",value:"#45818E"},{isBrightColor:!1,name:"dark cornflower blue 1",value:"#3B78D8"},{isBrightColor:!1,name:"dark blue 1",value:"#3E84C6"},{isBrightColor:!1,name:"dark purple 1",value:"#664EA6"},{isBrightColor:!1,name:"dark magenta 1",value:"#A64D78"},{isBrightColor:!1,name:"dark red berry 2",value:"#84200D"},{isBrightColor:!1,name:"dark red 2",value:"#990001"},{isBrightColor:!1,name:"dark orange 2",value:"#B45F05"},{isBrightColor:!1,name:"dark yellow 2",value:"#BF9002"},{isBrightColor:!1,name:"dark green 2",value:"#38761D"},{isBrightColor:!1,name:"dark cyan 2",value:"#124F5C"},{isBrightColor:!1,name:"dark cornflower blue 2",value:"#1155CB"},{isBrightColor:!1,name:"dark blue 2",value:"#0C5394"},{isBrightColor:!1,name:"dark purple 2",value:"#351C75"},{isBrightColor:!1,name:"dark magenta 2",value:"#741B47"},{isBrightColor:!1,name:"dark red berry 3",value:"#5B0F00"},{isBrightColor:!1,name:"dark red 3",value:"#660000"},{isBrightColor:!1,name:"dark orange 3",value:"#783F04"},{isBrightColor:!1,name:"dark yellow 3",value:"#7E6000"},{isBrightColor:!1,name:"dark green 3",value:"#274E12"},{isBrightColor:!1,name:"dark cyan 3",value:"#0D343D"},{isBrightColor:!1,name:"dark cornflower blue 3",value:"#1B4487"},{isBrightColor:!1,name:"dark blue 3",value:"#083763"},{isBrightColor:!1,name:"dark purple 3",value:"#1F124D"},{isBrightColor:!1,name:"dark magenta 3",value:"#4C1130"}];var O=t(28044);function P(e){return(0,o.jsxs)("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("title",{children:"Border All"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25H14C14.4142 0.25 14.75 0.585786 14.75 1V14C14.75 14.4142 14.4142 14.75 14 14.75H1C0.585786 14.75 0.25 14.4142 0.25 14V1ZM1.75 1.75V13.25H13.25V1.75H1.75Z",fill:"currentColor",fillRule:"evenodd"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"5"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"3"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"5",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"3",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"9",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"11",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"9"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"11"})]})}function H(e){return(0,o.jsxs)("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("title",{children:"Border Bottom"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M1 13.25L14 13.25V14.75L1 14.75V13.25Z",fill:"currentColor",fillRule:"evenodd"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"5"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"5"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"3"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"3"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"5",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"5",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"3",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"3",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"9",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"9",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"11",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"11",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"9"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"9"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"11"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"11"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"5"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"3"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"9"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"11"})]})}function V(e){return(0,o.jsxs)("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("title",{children:"Border Left"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M1.75 1L1.75 14L0.249999 14L0.25 1L1.75 1Z",fill:"currentColor",fillRule:"evenodd"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 10 7)",width:"1",x:"10",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 10 13)",width:"1",x:"10",y:"13"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 12 7)",width:"1",x:"12",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 12 13)",width:"1",x:"12",y:"13"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 8 7)",width:"1",x:"8",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 14 7)",width:"1",x:"14",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 8 13)",width:"1",x:"8",y:"13"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 14 13)",width:"1",x:"14",y:"13"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 8 5)",width:"1",x:"8",y:"5"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 14 5)",width:"1",x:"14",y:"5"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 8 3)",width:"1",x:"8",y:"3"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 14 3)",width:"1",x:"14",y:"3"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 8 9)",width:"1",x:"8",y:"9"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 14 9)",width:"1",x:"14",y:"9"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 8 11)",width:"1",x:"8",y:"11"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 14 11)",width:"1",x:"14",y:"11"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 6 7)",width:"1",x:"6",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 6 13)",width:"1",x:"6",y:"13"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 4 7)",width:"1",x:"4",y:"7"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 4 13)",width:"1",x:"4",y:"13"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 10 1)",width:"1",x:"10",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 12 1)",width:"1",x:"12",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 8 1)",width:"1",x:"8",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 14 1)",width:"1",x:"14",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 6 1)",width:"1",x:"6",y:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(90 4 1)",width:"1",x:"4",y:"1"})]})}function Z(e){return(0,o.jsxs)("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("title",{children:"Border None"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"5.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"5.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"3.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"3.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"7.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"13.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"1.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"7.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"13.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"1.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"5",y:"7.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"5",y:"13.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"5",y:"1.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"3",y:"7.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"3",y:"13.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"3",y:"1.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"9",y:"7.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"9",y:"13.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"9",y:"1.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"11",y:"7.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"11",y:"13.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"11",y:"1.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"9.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"9.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"7",y:"11.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"13",y:"11.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"5.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"3.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"7.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"13.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"1.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"9.025"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",width:"1",x:"1",y:"11.025"})]})}function I(e){return(0,o.jsxs)("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("title",{children:"Border Right"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M13.25 1L13.25 14L14.75 14L14.75 1L13.25 1Z",fill:"currentColor",fillRule:"evenodd"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 5 7)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 5 13)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 3 7)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 3 13)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:
1"matrix(0 1 1 0 7 7)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 1 7)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 7 13)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 1 13)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 7 5)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 1 5)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 7 3)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 1 3)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 7 9)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 1 9)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 7 11)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 1 11)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 9 7)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 9 13)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 11 7)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 11 13)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 5 1)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 3 1)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 7 1)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 1 1)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 9 1)",width:"1"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"matrix(0 1 1 0 11 1)",width:"1"})]})}function q(e){return(0,o.jsxs)("svg",{fill:"none",height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("title",{children:"Border Top"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M14 1.75L1 1.75L1 0.249999L14 0.25L14 1.75Z",fill:"currentColor",fillRule:"evenodd"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 8 10)",width:"1",x:"8",y:"10"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 2 10)",width:"1",x:"2",y:"10"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 8 12)",width:"1",x:"8",y:"12"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 2 12)",width:"1",x:"2",y:"12"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 8 8)",width:"1",x:"8",y:"8"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 8 14)",width:"1",x:"8",y:"14"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 2 8)",width:"1",x:"2",y:"8"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 2 14)",width:"1",x:"2",y:"14"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 10 8)",width:"1",x:"10",y:"8"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 10 14)",width:"1",x:"10",y:"14"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 12 8)",width:"1",x:"12",y:"8"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 12 14)",width:"1",x:"12",y:"14"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 6 8)",width:"1",x:"6",y:"8"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 6 14)",width:"1",x:"6",y:"14"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 4 8)",width:"1",x:"4",y:"8"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 4 14)",width:"1",x:"4",y:"14"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 8 6)",width:"1",x:"8",y:"6"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 2 6)",width:"1",x:"2",y:"6"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 8 4)",width:"1",x:"8",y:"4"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 2 4)",width:"1",x:"2",y:"4"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 14 10)",width:"1",x:"14",y:"10"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 14 12)",width:"1",x:"14",y:"12"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 14 8)",width:"1",x:"14",y:"8"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 14 14)",width:"1",x:"14",y:"14"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 14 6)",width:"1",x:"14",y:"6"}),(0,o.jsx)("rect",{fill:"currentColor",height:"1",rx:".5",transform:"rotate(-180 14 4)",width:"1",x:"14",y:"4"})]})}var X=t(40205),W=t(23272),$=t(79556),K=t(49295);function U(e){let{className:r,...t}=e;return(0,o.jsx)(X.bL,{className:(0,_.cn)("relative flex select-none items-center",r),...t})}function G(e){let{className:r,...t}=e;return(0,o.jsx)(X.hT,{className:(0,_.cn)("flex items-center",r),...t})}let J=(0,c.F)("inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium text-sm outline-none transition-[color,box-shadow] hover:bg-muted hover:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-checked:bg-accent aria-checked:text-accent-foreground aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",{defaultVariants:{size:"default",variant:"default"},variants:{size:{default:"h-9 min-w-9 px-2",lg:"h-10 min-w-10 px-2.5",sm:"h-8 min-w-8 px-1.5"},variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"}}});function Y(e){let{children:r,className:t,sideOffset:l=4,...i}=e;return(0,o.jsx)(W.ZL,{children:(0,o.jsx)(W.UC,{className:(0,_.cn)("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) text-balance rounded-md bg-primary px-3 py-1.5 text-primary-foreground text-xs",t),"data-slot":"tooltip-content",sideOffset:l,...i,children:r})})}function ee(e){let{className:r,size:t="sm",variant:l,...i}=e;return(0,o.jsx)(X.sy,{className:(0,_.cn)(J({size:t,variant:l}),r),...i})}(0,c.F)((0,_.cn)("inline-flex items-center justify-center rounded-r-md font-medium text-foreground text-sm transition-colors disabled:pointer-events-none disabled:opacity-50"),{defaultVariants:{size:"sm",variant:"default"},variants:{size:{default:"h-9 w-6",lg:"h-10 w-8",sm:"h-8 w-4"},variant:{default:"bg-transparent hover:bg-muted hover:text-muted-foreground aria-checked:bg-accent aria-checked:text-accent-foreground",outline:"border border-input border-l-0 bg-transparent hover:bg-accent hover:text-accent-foreground"}}});let er=(l=function(e){let{children:r,className:t,isDropdown:l,pressed:i,size:n="sm",variant:a,...s}=e;return"boolean"==typeof i?(0,o.jsx)(G,{disabled:s.disabled,type:"single",value:"single",children:(0,o.jsx)(ee,{className:(0,_.cn)(J({size:n,variant:a}),l&&"justify-between gap-1 pr-1",t),value:i?"single":"",...s,children:l?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"flex flex-1 items-center gap-2 whitespace-nowrap",children:r}),(0,o.jsx)("div",{children:(0,o.jsx)($.A,{className:"size-3.5 text-muted-foreground","data-icon":!0})})]}):r})}
1):(0,o.jsx)(X.$n,{className:(0,_.cn)(J({size:n,variant:a}),l&&"pr-1",t),...s,children:r})},function(e){let{tooltip:r,tooltipContentProps:t,tooltipProps:i,tooltipTriggerProps:n,...a}=e,[s,h]=z.useState(!1);z.useEffect(()=>{h(!0)},[]);let c=(0,o.jsx)(l,{...a});return r&&s?(0,o.jsxs)(R.m_,{...i,children:[(0,o.jsx)(R.k$,{asChild:!0,...n,children:c}),(0,o.jsx)(Y,{...t,children:r})]}):c});function et(e){let{children:r,className:t}=e;return(0,o.jsxs)("div",{className:(0,_.cn)("group/toolbar-group","relative hidden has-[button]:flex",t),children:[(0,o.jsx)("div",{className:"flex items-center",children:r}),(0,o.jsx)("div",{className:"group-last/toolbar-group:hidden! mx-1.5 py-0.5",children:(0,o.jsx)(K.Separator,{orientation:"vertical"})})]})}function el(e){let{children:r,className:t,label:l,...i}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(N.mB,{className:(0,_.cn)("hidden","mb-0 shrink-0 peer-has-[[role=menuitem]]/menu-group:block peer-has-[[role=menuitemradio]]/menu-group:block peer-has-[[role=option]]/menu-group:block")}),(0,o.jsxs)(N.Hr,{...i,className:(0,_.cn)("hidden","peer/menu-group group/menu-group my-1.5 has-[[role=menuitem]]:block has-[[role=menuitemradio]]:block has-[[role=option]]:block",t),children:[l&&(0,o.jsx)(N.lp,{className:"select-none font-semibold text-muted-foreground text-xs",children:l}),r]})]})}let eo=(0,B.Xf)(h.TableProvider,function(e){let{children:r,...t}=e,l=(0,F.cQ)();(0,B.gO)(n.BlockSelectionPlugin,"isSelectionAreaVisible");let{isSelectingCell:i,marginLeft:a,props:s}=(0,h.useTableElement)(),c=(0,n.useBlockSelected)(t.element.id),d=(0,o.jsx)(B.tc,{...t,className:(0,_.cn)("overflow-x-auto py-5"),style:{paddingLeft:a},children:(0,o.jsxs)("div",{className:"group/table relative w-fit",children:[(0,o.jsx)("table",{className:(0,_.cn)("mr-0 ml-px table h-px table-fixed border-collapse",i&&"selection:bg-transparent"),...s,children:(0,o.jsx)("tbody",{className:"min-w-full",children:r})}),c&&(0,o.jsx)("div",{className:S(),contentEditable:!1})]})});return l?d:(0,o.jsx)(ei,{children:d})});function ei(e){let{children:r,...t}=e,{tf:l}=(0,B.CF)(h.TablePlugin),i=(0,F.f7)(),n=(0,B.iQ)(),{props:a}=(0,D.W6)({element:n}),s=(0,B.QR)(e=>i&&e.api.isCollapsed(),[i]),c=(0,B.hc)(),{canMerge:b,canSplit:v}=(0,h.useTableMergeState)();return(0,o.jsxs)(M.Popover,{modal:!1,open:c&&(b||v||s),children:[(0,o.jsx)(M.d,{asChild:!0,children:r}),(0,o.jsx)(M.PopoverContent,{asChild:!0,onOpenAutoFocus:e=>e.preventDefault(),...t,children:(0,o.jsxs)(U,{className:"scrollbar-hide pointer-events-auto z-[100] flex w-auto max-w-[80vw] flex-row overflow-x-auto rounded-md border bg-popover p-1 shadow-md print:hidden",contentEditable:!1,children:[(0,o.jsxs)(et,{children:[(0,o.jsx)(ea,{tooltip:"背景颜色",children:(0,o.jsx)(d.A,{})}),b&&(0,o.jsx)(er,{onClick:()=>l.table.merge(),onMouseDown:e=>e.preventDefault(),tooltip:"合并单元格",children:(0,o.jsx)(x.A,{})}),v&&(0,o.jsx)(er,{onClick:()=>l.table.split(),onMouseDown:e=>e.preventDefault(),tooltip:"拆分单元格",children:(0,o.jsx)(u.A,{})}),(0,o.jsxs)(N.DropdownMenu,{modal:!1,children:[(0,o.jsx)(N.ty,{asChild:!0,children:(0,o.jsx)(er,{tooltip:"单元格边框",children:(0,o.jsx)(g.A,{})})}),(0,o.jsx)(N.dc,{children:(0,o.jsx)(en,{})})]}),s&&(0,o.jsx)(er,{tooltip:"删除表格",...a,children:(0,o.jsx)(f.A,{})})]}),s&&(0,o.jsxs)(et,{children:[(0,o.jsx)(er,{onClick:()=>{l.insert.tableRow({before:!0})},onMouseDown:e=>e.preventDefault(),tooltip:"在上方插入行",children:(0,o.jsx)(m.A,{})}),(0,o.jsx)(er,{onClick:()=>{l.insert.tableRow()},onMouseDown:e=>e.preventDefault(),tooltip:"在下方插入行",children:(0,o.jsx)(C.A,{})}),(0,o.jsx)(er,{onClick:()=>{l.remove.tableRow()},onMouseDown:e=>e.preventDefault(),tooltip:"删除行",children:(0,o.jsx)(p.A,{})})]}),s&&(0,o.jsxs)(et,{children:[(0,o.jsx)(er,{onClick:()=>{l.insert.tableColumn({before:!0})},onMouseDown:e=>e.preventDefault(),tooltip:"在左侧插入列",children:(0,o.jsx)(j.A,{})}),(0,o.jsx)(er,{onClick:()=>{l.insert.tableColumn()},onMouseDown:e=>e.preventDefault(),tooltip:"在右侧插入列",children:(0,o.jsx)(w.A,{})}),(0,o.jsx)(er,{onClick:()=>{l.remove.tableColumn()},onMouseDown:e=>e.preventDefault(),tooltip:"删除列",children:(0,o.jsx)(p.A,{})})]})]})})]})}function en(e){let r=(0,B.Q_)(),{getOnSelectTableBorder:t,hasBottomBorder:l,hasLeftBorder:i,hasNoBorders:n,hasOuterBorders:a,hasRightBorder:s,hasTopBorder:c}=(0,h.useTableBordersDropdownMenuContentState)();return(0,o.jsxs)(N.DropdownMenuContent,{align:"start",className:"min-w-[220px]",onCloseAutoFocus:e=>{e.preventDefault(),r.tf.focus()},side:"right",sideOffset:0,...e,children:[(0,o.jsxs)(N.I,{children:[(0,o.jsxs)(N.hO,{checked:c,onCheckedChange:t
1("top"),children:[(0,o.jsx)(q,{}),(0,o.jsx)("div",{children:"上边框"})]}),(0,o.jsxs)(N.hO,{checked:s,onCheckedChange:t("right"),children:[(0,o.jsx)(I,{}),(0,o.jsx)("div",{children:"右边框"})]}),(0,o.jsxs)(N.hO,{checked:l,onCheckedChange:t("bottom"),children:[(0,o.jsx)(H,{}),(0,o.jsx)("div",{children:"下边框"})]}),(0,o.jsxs)(N.hO,{checked:i,onCheckedChange:t("left"),children:[(0,o.jsx)(V,{}),(0,o.jsx)("div",{children:"左边框"})]})]}),(0,o.jsxs)(N.I,{children:[(0,o.jsxs)(N.hO,{checked:n,onCheckedChange:t("none"),children:[(0,o.jsx)(Z,{}),(0,o.jsx)("div",{children:"无边框"})]}),(0,o.jsxs)(N.hO,{checked:a,onCheckedChange:t("outer"),children:[(0,o.jsx)(P,{}),(0,o.jsx)("div",{children:"外边框"})]})]})]})}function ea(e){let{children:r,tooltip:t}=e,[l,i]=z.useState(!1),n=(0,B.Q_)(),a=(0,B.gO)(h.TablePlugin,"selectedCells"),c=z.useCallback(e=>{i(!1),s(n,{color:e,selectedCells:a??[]})},[a,n]),d=z.useCallback(()=>{i(!1),s(n,{color:null,selectedCells:a??[]})},[a,n]);return(0,o.jsxs)(N.DropdownMenu,{modal:!1,onOpenChange:i,open:l,children:[(0,o.jsx)(N.ty,{asChild:!0,children:(0,o.jsx)(er,{tooltip:t,children:r})}),(0,o.jsxs)(N.DropdownMenuContent,{align:"start",children:[(0,o.jsx)(el,{label:"Colors",children:(0,o.jsx)(Q,{className:"px-2",colors:T,updateColor:c})}),(0,o.jsx)(N.I,{children:(0,o.jsxs)(N.DropdownMenuItem,{className:"p-2",onClick:d,children:[(0,o.jsx)(b.A,{}),(0,o.jsx)("span",{children:"Clear"})]})})]})]})}function es(e){let{children:r,...t}=e,{element:l}=t,a=(0,F.cQ)(),s=(0,F.f7)(),h=(0,B.Q_)(),c=(0,B.gO)(n.BlockSelectionPlugin,"isSelectionAreaVisible"),{isDragging:d,previewRef:x,handleRef:u}=(0,i.useDraggable)({element:l,type:l.type,canDropNode:e=>{let{dragEntry:r,dropEntry:t}=e;return y.s2.equals(y.s2.parent(r[1]),y.s2.parent(t[1]))},onDropHandler:(e,r)=>{let{dragItem:t}=r,l=null==t?void 0:t.element;l&&h.tf.select(l)}});return(0,o.jsxs)(B.tc,{...t,as:"tr",attributes:{...t.attributes,"data-selected":s?"true":void 0},className:(0,_.cn)("group/row",d&&"opacity-50"),ref:(0,A.rF)(t.ref,x),children:[!a&&!c&&(0,o.jsxs)("td",{className:"relative w-0 select-none overflow-visible p-0",contentEditable:!1,children:[(0,o.jsx)(eh,{dragRef:u}),(0,o.jsx)(ec,{})]}),r]})}function eh(e){let{dragRef:r}=e,t=(0,B.Q_)(),l=(0,B.iQ)();return(0,o.jsx)(E.Button,{className:(0,_.cn)("-translate-y-1/2 absolute top-1/2 -left-6 z-51 h-6 w-4 p-0 focus-visible:ring-0 focus-visible:ring-offset-0","cursor-grab active:cursor-grabbing",'opacity-0 transition-opacity duration-100 group-hover/row:opacity-100 group-has-data-[resizing="true"]/row:opacity-0'),onClick:()=>{t.tf.select(l)},ref:r,variant:"outline",children:(0,o.jsx)(v.A,{className:"text-muted-foreground"})})}function ec(){let{dropLine:e}=(0,i.useDropLine)();return e?(0,o.jsx)("div",{className:(0,_.cn)("absolute inset-x-0 z-50 h-0.5 bg-brand/50","top"===e?"-top-px":"-bottom-px")}):null}function ed(e){var r,t,l,i;let{isHeader:a,...s}=e,{api:c}=(0,B.CF)(h.TablePlugin),d=(0,F.cQ)(),x=s.element,u=(0,B.Lz)(e=>{let[r]=e;return r.id},[],{key:k.t.table}),g=(0,B.Lz)(e=>{let[r]=e;return r.id},[],{key:k.t.tr}),f=(0,n.useBlockSelected)(u),m=(0,n.useBlockSelected)(g)||f,C=(0,B.gO)(n.BlockSelectionPlugin,"isSelectionAreaVisible"),{borders:p,colIndex:j,colSpan:w,minHeight:b,rowIndex:v,selected:y,width:D}=(0,h.useTableCellElement)(),{bottomProps:A,hiddenLeft:z,leftProps:E,rightProps:N}=(0,h.useTableCellElementResizable)({colIndex:j,colSpan:w,rowIndex:v});return(0,o.jsxs)(B.tc,{...s,as:a?"th":"td",attributes:{...s.attributes,colSpan:c.table.getColSpan(x),rowSpan:c.table.getRowSpan(x)},className:(0,_.cn)("h-full overflow-visible border-none bg-background p-0",x.background?"bg-(--cellBackgroun
1d)":"bg-background",a&&"text-left *:m-0","before:size-full",y&&"before:z-10 before:bg-brand/5","before:absolute before:box-border before:select-none before:content-['']",(null==(r=p.bottom)?void 0:r.size)&&"before:border-b before:border-b-border",(null==(t=p.right)?void 0:t.size)&&"before:border-r before:border-r-border",(null==(l=p.left)?void 0:l.size)&&"before:border-l before:border-l-border",(null==(i=p.top)?void 0:i.size)&&"before:border-t before:border-t-border"),style:{"--cellBackground":x.background,maxWidth:D||240,minWidth:D||120},children:[(0,o.jsx)("div",{className:"relative z-20 box-border h-full px-3 py-2",style:{minHeight:b},children:s.children}),!C&&(0,o.jsx)("div",{className:"group absolute top-0 size-full select-none",contentEditable:!1,suppressContentEditableWarning:!0,children:!d&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(O.XA,{...N,className:"-top-2 -right-1 h-[calc(100%_+_8px)] w-2","data-col":j}),(0,o.jsx)(O.XA,{...A,className:"-bottom-1 h-2"}),!z&&(0,o.jsx)(O.XA,{...E,className:"-left-1 top-0 w-2","data-resizer-left":0===j?"true":void 0}),(0,o.jsx)("div",{className:(0,_.cn)("absolute top-0 z-30 hidden h-full w-1 bg-ring","right-[-1.5px]",eu({colIndex:j}))}),0===j&&(0,o.jsx)("div",{className:(0,_.cn)("absolute top-0 z-30 h-full w-1 bg-ring","left-[-1.5px]",'fade-in hidden animate-in group-has-[[data-resizer-left]:hover]/table:block group-has-[[data-resizer-left][data-resizing="true"]]/table:block')})]})}),m&&(0,o.jsx)("div",{className:S(),contentEditable:!1})]})}function ex(e){return(0,o.jsx)(ed,{...e,isHeader:!0})}let eu=(0,c.F)("fade-in hidden animate-in",{variants:{colIndex:{0:'group-has-[[data-col="0"]:hover]/table:block group-has-[[data-col="0"][data-resizing="true"]]/table:block',1:'group-has-[[data-col="1"]:hover]/table:block group-has-[[data-col="1"][data-resizing="true"]]/table:block',2:'group-has-[[data-col="2"]:hover]/table:block group-has-[[data-col="2"][data-resizing="true"]]/table:block',3:'group-has-[[data-col="3"]:hover]/table:block group-has-[[data-col="3"][data-resizing="true"]]/table:block',4:'group-has-[[data-col="4"]:hover]/table:block group-has-[[data-col="4"][data-resizing="true"]]/table:block',5:'group-has-[[data-col="5"]:hover]/table:block group-has-[[data-col="5"][data-resizing="true"]]/table:block',6:'group-has-[[data-col="6"]:hover]/table:block group-has-[[data-col="6"][data-resizing="true"]]/table:block',7:'group-has-[[data-col="7"]:hover]/table:block group-has-[[data-col="7"][data-resizing="true"]]/table:block',8:'group-has-[[data-col="8"]:hover]/table:block group-has-[[data-col="8"][data-resizing="true"]]/table:block',9:'group-has-[[data-col="9"]:hover]/table:block group-has-[[data-col="9"][data-resizing="true"]]/table:block',10:'group-has-[[data-col="10"]:hover]/table:block group-has-[[data-col="10"][data-resizing="true"]]/table:block'}}})},90967:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(30280).A)("Grid2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.