PageSourceSearch

https://tsuboi.dev/assets/_slug-DhDkXJGn.js

js tsuboi.dev collected 2026-10-05 22:52:15 UTC 74,187 bytes, 3 lines download raw bytes

vendor: 20,403 bytes, lines 1-2
1import{c as e,f as t,n,o as r,r as i,s as a,t as o}from"./utils-CyXIkfUW.js";import{a as s,n as c,t as l}from"./allBlogPosts-CypLnzR1.js";import{a as u,f as d}from"./preload-helper-wE4wT6XR.js";import{t as f}from"./createLucideIcon-CaQcmVrl.js";import{U as p,c as m,d as h,f as g,l as _,n as v,o as y,s as b,u as x}from"./main-Bt_1CyTj.js";import{n as S,o as C,t as w}from"./section-divider-6UmEXvPM.js";var T=f(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),E=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(t=e.ElementType||={});function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})),D=e((e=>{var t=e&&e.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),n=e&&e.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(e,`__esModule`,{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.CDATA=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var r=E(),i=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,`parentNode`,{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,`previousSibling`,{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,`nextSibling`,{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return e===void 0&&(e=!1),b(this,e)},e}();e.Node=i;var a=function(e){t(n,e);function n(t){var n=e.call(this)||this;return n.data=t,n}return Object.defineProperty(n.prototype,`nodeValue`,{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),n}(i);e.DataNode=a;var o=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Text,t}return Object.defineProperty(n.prototype,`nodeType`,{get:function(){return 3},enumerable:!1,configurable:!0}),n}(a);e.Text=o;var s=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Comment,t}return Object.defineProperty(n.prototype,`nodeType`,{get:function(){return 8},enumerable:!1,configurable:!0}),n}(a);e.Comment=s;var c=function(e){t(n,e);function n(t,n){var i=e.call(this,n)||this;return i.name=t,i.type=r.ElementType.Directive,i}return Object.defineProperty(n.prototype,`nodeType`,{get:function(){return 1},enumerable:!1,configurable:!0}),n}(a);e.ProcessingInstruction=c;var l=function(e){t(n,e);function n(t){var n=e.call(this)||this;return n.children=t,n}return Object.defineProperty(n.prototype,`firstChild`,{get:function(){return this.children[0]??null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,`lastChild`,{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,`childNodes`,{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),n}(i);e.NodeWithChildren=l;var u=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.CDATA,t}return Object.defineProperty(n.prototype,`nodeType`,{get:function(){return 4},enumerable:!1,configurable:!0}),n}(l);e.CDATA=u;var d=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Root,t}return Object.defineProperty(n.prototype,`nodeType`,{get:function(){return 9},enumerable:!1,configurable:!0}),n}(l);e.Document=d;var f=function(e){t(n,e);function n(t,n,i,a){i===void 0&&(i=[]),a===void 0&&(a=t===`script`?r.ElementType.Script:t===`style`?r.ElementType.Style:r.ElementType.Tag);var o=e.call(this,i)||this;return o.name=t,o.attribs=n,o.type=a,o}return Object.defineProperty(n.prototype,`nodeType`,{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,`tagName`,{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,`attributes`,{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){return{name:t,value:e.attribs[t],namespace:e[`x-attribsNamespace`]?.[t],prefix:e[`x-attribsPrefix`]?.[t]}})},enumerable:!1,configurable:!0}),n}(l);e.Element=f;function p(e){return(0,r.isTag)(e)}e.isTag=p;function m(e){return e.type===r.ElementType.CDATA}e.isCDATA=m;function h(e){return e.type===r.ElementType.Text}e.isText=h;function g(e){return e.type===r.ElementType.Comment}e.isComment=g;function _(e){return e.type===r.ElementType.Directive}e.isDirective=_;function v(e){return e.type===r.ElementType.Root}e.isDocument=v;function y(e){return Object.prototype.hasOwnProperty.call(e,`children`)}e.hasChildren=y;function b(e,t){t===void 0&&(t=!1);var r;if(h(e))r=new o(e.data);else if(g(e))r=new s(e.data);else if(p(e)){var i=t?x(e.children):[],a=new f(e.name,n({},e.attribs),i);i.forEach(function(e){return e.parent=a}),e.namespace!=null&&(a.namespace=e.namespace),e[`x-attribsNamespace`]&&(a[`x-attribsNamespace`]=n({},e[`x-attribsNamespace`])),e[`x-attribsPrefix`]&&(a[`x-attribsPrefix`]=n({},e[`x-attribsPrefix`])),r=a}else if(m(e)){var i=t?x(e.children):[],l=new u(i);i.forEach(function(e){return e.parent=l}),r=l}else if(v(e)){var i=t?x(e.children):[],y=new d(i);i.forEach(function(e){return e.parent=y}),e[`x-mode`]&&(y[`x-mode`]=e[`x-mode`]),r=y}else if(_(e)){var b=new c(e.name,e.data);e[`x-name`]!=null&&(b[`x-name`]=e[`x-name`],b[`x-publicId`]=e[`x-publicId`],b[`x-systemId`]=e[`x-systemId`]),r=b}else throw Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}e.cloneNode=b;function x(e){for(var t=e.map(function(e){return b(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}})),O=e((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.DomHandler=void 0;var r=E(),i=D();n(D(),e);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},o=function(){function e(e,t,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t==`function`&&(n=t,t=a),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??a,this.elementCB=n??null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?r.ElementType.Tag:void 0,a=new i.Element(e,t,void 0,n);this.addNode(a),this.tagStack.push(a)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===r.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=e;return}var t=new i.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(``),t=new i.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new i.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();e.DomHandler=o,e.default=o})),k=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=e.CARRIAGE_RETURN_PLACEHOLDER=e.CARRIAGE_RETURN_REGEX=e.CARRIAGE_RETURN=e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.CASE_SENSITIVE_TAG_NAMES=`animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.linearGradient.radialGradient.textPath`.split(`.`),e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),e.CARRIAGE_RETURN=`\r`,e.CARRIAGE_RETURN_REGEX=new RegExp(e.CARRIAGE_RETURN,`g`),e.CARRIAGE_RETURN_PLACEHOLDER=`__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_${Date.now().toString()}__`,e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER,`g`)})),A=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.formatAttributes=i,e.hasOpenTag=o,e.escapeSpecialCharacters=s,e.revertEscapedCharacters=c,e.formatDOM=l;var t=O(),n=k();function r(e){return n.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function i(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function a(e){return e=e.toLowerCase(),r(e)||e}function o(e,t){var n=`<`+t,r=e.toLowerCase().indexOf(n);if(r===-1)return!1;var i=e[r+n.length];return i===`>`||i===` `||i===`	`||i===`
2`||i===`\r`||i===`/`}function s(e){return e.replace(n.CARRIAGE_RETURN_REGEX,n.CARRIAGE_RETURN_PLACEHOLDER)}function c(e){return e.replace(n.CARRIAGE_RETURN_PLACEHOLDER_REGEX,n.CARRIAGE_RETURN)}function l(e,n,r){n===void 0&&(n=null);for(var o=[],s,u=0,d=e.length;u<d;u++){var f=e[u];switch(f.nodeType){case 1:var p=a(f.nodeName);s=new t.Element(p,i(f.attributes)),s.children=l(p===`template`?f.content.childNodes:f.childNodes,s);break;case 3:s=new t.Text(c(f.nodeValue??``));break;case 8:s=new t.Comment(f.nodeValue??``);break;default:continue}var m=o[u-1]??null;m&&(m.next=s),s.parent=n,s.prev=m,s.next=null,o.push(s)}return r&&(s=new t.ProcessingInstruction(r.substring(0,r.indexOf(` `)).toLowerCase(),r),s.next=o[0]??null,s.parent=n,o.unshift(s),o[1]&&(o[1].prev=o[0])),o}})),j=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=h;var t=A(),n=`html`,r=`head`,i=`body`,a=/<([a-zA-Z]+[0-9]?)/,o=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},s=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},c=typeof window==`object`&&window.DOMParser;if(typeof c==`function`){var l=new c,u=`text/html`;s=function(e,t){return t&&(e=`<${t}>${e}</${t}>`),l.parseFromString(e,u)},o=s}if(typeof document==`object`&&document.implementation){var d=document.implementation.createHTMLDocument();o=function(e,t){if(t){var n=d.documentElement.querySelector(t);return n&&(n.innerHTML=e),d}return d.documentElement.innerHTML=e,d}}var f=typeof document==`object`&&document.createElement(`template`),p;f&&f.content&&(p=function(e){return f.innerHTML=e,f.content.childNodes});var m=function(){return document.createDocumentFragment().childNodes};function h(e){var c,l;e=(0,t.escapeSpecialCharacters)(e);var u=(a.exec(e)?.[1])?.toLowerCase();switch(u){case n:var d=s(e);if(!(0,t.hasOpenTag)(e,r)){var f=d.querySelector(r);(c=f?.parentNode)==null||c.removeChild(f)}if(!(0,t.hasOpenTag)(e,i)){var f=d.querySelector(i);(l=f?.parentNode)==null||l.removeChild(f)}return d.querySelectorAll(n);case r:case i:var h=o(e).querySelectorAll(u);return(0,t.hasOpenTag)(e,i)&&(0,t.hasOpenTag)(e,r)?h[0].parentNode?.childNodes??m():h;default:if(p)return p(e);var f=o(e,i).querySelector(i);return f?.childNodes??m()}}})),M=e((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=a;var n=t(j()),r=A(),i=/<(![a-zA-Z\s]+)>/;function a(e){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];var t=i.exec(e),a=t?t[1]:void 0;return(0,r.formatDOM)((0,n.default)(e),null,a)}})),ee=e((e=>{e.SAME=0,e.CAMELCASE=1,e.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":`acceptCharset`,accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:`className`,classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:`htmlFor`,form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":`httpEquiv`,icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":`accentHeight`,accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":`alignmentBaseline`,allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":`arabicForm`,ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":`baselineShift`,baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":`capHeight`,clip:0,clipPath:1,"clip-path":`clipPath`,clipPathUnits:1,clipRule:1,"clip-rule":`clipRule`,color:0,colorInterpolation:1,"color-interpolation":`colorInterpolation`,colorInterpolationFilters:1,"color-interpolation-filters":`colorInterpolationFilters`,colorProfile:1,"color-profile":`colorProfile`,colorRendering:1,"color-rendering":`colorRendering`,contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":`dominantBaseline`,dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":`enableBackground`,end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":`fillOpacity`,fillRule:1,"fill-rule":`fillRule`,filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":`floodOpacity`,floodColor:1,"flood-color":`floodColor`,focusable:0,fontFamily:1,"font-family":`fontFamily`,fontSize:1,"font-size":`fontSize`,fontSizeAdjust:1,"font-size-adjust":`fontSizeAdjust`,fontStretch:1,"font-stretch":`fontStretch`,fontStyle:1,"font-style":`fontStyle`,fontVariant:1,"font-variant":`fontVariant`,fontWeight:1,"font-weight":`fontWeight`,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":`glyphName`,glyphOrientationHorizontal:1,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphOrientationVertical:1,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":`horizAdvX`,horizOriginX:1,"horiz-origin-x":`horizOriginX`,ideographic:0,imageRendering:1,"image-rendering":`imageRendering`,in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":`letterSpacing`,lightingColor:1,"lighting-color":`lightingColor`,limitingConeAngle:1,local:0,markerEnd:1,"marker-end":`markerEnd`,markerHeight:1,markerMid:1,"marker-mid":`markerMid`,markerStart:1,"marker-start":`markerStart`,markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":`overlinePosition`,overlineThickness:1,"overline-thickness":`overlineThickness`,paintOrder:1,"paint-order":`paintOrder`,panose1:0,"panose-1":`panose1`,pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":`pointerEvents`,points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":`renderingIntent`,repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":`shapeRendering`,slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":`stopColor`,stopOpacity:1,"stop-opacity":`stopOpacity`,strikethroughPosition:1,"strikethrough-position":`strikethroughPosition`,strikethroughThickness:1,"strikethrough-thickness":`strikethroughThickness`,string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":`strokeDasharray`,strokeDashoffset:1,"stroke-dashoffset":`strokeDashoffset`,strokeLinecap:1,"stroke-linecap":`strokeLinecap`,strokeLinejoin:1,"stroke-linejoin":`strokeLinejoin`,strokeMiterlimit:1,"stroke-miterlimit":`strokeMiterlimit`,strokeWidth:1,"stroke-width":`strokeWidth`,strokeOpacity:1,"stroke-opacity":`strokeOpacity`,suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":`textAnchor`,textDecoration:1,"text-decoration":`textDecoration`,textLength:1,textRendering:1,"text-rendering":`textRendering`,to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":`underlinePosition`,underlineThickness:1,"underline-thickness":`underlineThickness`,unicode:0,unicodeBidi:1,"unicode
2-bidi":`unicodeBidi`,unicodeRange:1,"unicode-range":`unicodeRange`,unitsPerEm:1,"units-per-em":`unitsPerEm`,unselectable:0,vAlphabetic:1,"v-alphabetic":`vAlphabetic`,values:0,vectorEffect:1,"vector-effect":`vectorEffect`,version:0,vertAdvY:1,"vert-adv-y":`vertAdvY`,vertOriginX:1,"vert-origin-x":`vertOriginX`,vertOriginY:1,"vert-origin-y":`vertOriginY`,vHanging:1,"v-hanging":`vHanging`,vIdeographic:1,"v-ideographic":`vIdeographic`,viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":`vMathematical`,vocab:0,widths:0,wordSpacing:1,"word-spacing":`wordSpacing`,writingMode:1,"writing-mode":`writingMode`,x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":`xHeight`,xlinkActuate:1,"xlink:actuate":`xlinkActuate`,xlinkArcrole:1,"xlink:arcrole":`xlinkArcrole`,xlinkHref:1,"xlink:href":`xlinkHref`,xlinkRole:1,"xlink:role":`xlinkRole`,xlinkShow:1,"xlink:show":`xlinkShow`,xlinkTitle:1,"xlink:title":`xlinkTitle`,xlinkType:1,"xlink:type":`xlinkType`,xmlBase:1,"xml:base":`xmlBase`,xmlLang:1,"xml:lang":`xmlLang`,xmlns:0,"xml:space":`xmlSpace`,xmlnsXlink:1,"xmlns:xlink":`xmlnsXlink`,xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}})),te=e((e=>{var t=0,n=1,r=2,i=3,a=4,o=5,s=6;function c(e){return u.hasOwnProperty(e)?u[e]:null}function l(e,t,n,o,s,c,l){this.acceptsBooleans=t===r||t===i||t===a,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=l}var u={};[`children`,`dangerouslySetInnerHTML`,`defaultValue`,`defaultChecked`,`innerHTML`,`suppressContentEditableWarning`,`suppressHydrationWarning`,`style`].forEach(e=>{u[e]=new l(e,t,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(([e,t])=>{u[e]=new l(e,n,!1,t,null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(e=>{u[e]=new l(e,r,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(e=>{u[e]=new l(e,r,!1,e,null,!1,!1)}),[`allowFullScreen`,`async`,`autoFocus`,`autoPlay`,`controls`,`default`,`defer`,`disabled`,`disablePictureInPicture`,`disableRemotePlayback`,`formNoValidate`,`hidden`,`loop`,`noModule`,`noValidate`,`open`,`playsInline`,`readOnly`,`required`,`reversed`,`scoped`,`seamless`,`itemScope`].forEach(e=>{u[e]=new l(e,i,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(e=>{u[e]=new l(e,i,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(e=>{u[e]=new l(e,a,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(e=>{u[e]=new l(e,s,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(e=>{u[e]=new l(e,o,!1,e.toLowerCase(),null,!1,!1)});var d=/[\-\:]([a-z])/g,f=e=>e[1].toUpperCase();`accent-height.alignment-baseline.arabic-form.baseline-shift.cap-height.clip-path.clip-rule.color-interpolation.color-interpolation-filters.color-profile.color-rendering.dominant-baseline.enable-background.fill-opacity.fill-rule.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.glyph-name.glyph-orientation-horizontal.glyph-orientation-vertical.horiz-adv-x.horiz-origin-x.image-rendering.letter-spacing.lighting-color.marker-end.marker-mid.marker-start.overline-position.overline-thickness.paint-order.panose-1.pointer-events.rendering-intent.shape-rendering.stop-color.stop-opacity.strikethrough-position.strikethrough-thickness.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.text-anchor.text-decoration.text-rendering.underline-position.underline-thickness.unicode-bidi.unicode-range.units-per-em.v-alphabetic.v-hanging.v-ideographic.v-mathematical.vector-effect.vert-adv-y.vert-origin-x.vert-origin-y.word-spacing.writing-mode.xmlns:xlink.x-height`.split(`.`).forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,null,!1,!1)}),[`xlink:actuate`,`xlink:arcrole`,`xlink:role`,`xlink:show`,`xlink:title`,`xlink:type`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}
2),[`xml:base`,`xml:lang`,`xml:space`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!1,!1)});var p=`xlinkHref`;u[p]=new l(`xlinkHref`,n,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:m,SAME:h,possibleStandardNames:g}=ee(),_=RegExp.prototype.test.bind(RegExp(`^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`)),v=Object.keys(g).reduce((e,t)=>{let n=g[t];return n===h?e[t]=t:n===m?e[t.toLowerCase()]=t:e[t]=n,e},{});e.BOOLEAN=i,e.BOOLEANISH_STRING=r,e.NUMERIC=o,e.OVERLOADED_BOOLEAN=a,e.POSITIVE_NUMERIC=s,e.RESERVED=t,e.STRING=n,e.getPropertyInfo=c,e.isCustomAttribute=_,e.possibleStandardNames=v})),ne=e(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
3`,d=`/`,f=`*`,p=``,m=`comment`,h=`declaration`;function g(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,g=1;function v(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(u);g=~n?e.length-n:g+e.length}function y(){var e={line:l,column:g};return function(t){return t.position=new b(e),C(),t}}function b(e){this.start=e,this.end={line:l,column:g},this.source=t.source}b.prototype.content=e;function x(n){var r=Error(t.source+`:`+l+`:`+g+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=g,r.source=e,!t.silent)throw r}function S(t){var n=t.exec(e);if(n){var r=n[0];return v(r),e=e.slice(r.length),n}}function C(){S(i)}function w(e){var t;for(e||=[];t=T();)t!==!1&&e.push(t);return e}function T(){var t=y();if(!(d!=e.charAt(0)||f!=e.charAt(1))){for(var n=2;p!=e.charAt(n)&&(f!=e.charAt(n)||d!=e.charAt(n+1));)++n;if(n+=2,p===e.charAt(n-1))return x(`End of comment missing`);var r=e.slice(2,n-2);return g+=2,v(r),e=e.slice(n),g+=2,t({type:m,comment:r})}}function E(){var e=y(),t=S(a);if(t){if(T(),!S(o))return x(`property missing ':'`);var r=S(s),i=e({type:h,property:_(t[0].replace(n,p)),value:r?_(r[0].replace(n,p)):p});return S(c),i}}function D(){var e=[];w(e);for(var t;t=E();)t!==!1&&(e.push(t),w(e));return e}return C(),D()}function _(e){return e?e.replace(l,p):p}t.exports=g})),N=e((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=r;var n=t(ne());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r||={},r[n]=i)}),r}})),re=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),P=e(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(N()),r=re();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i})),F=e((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=o,e.setStyleProp=c;var n=a(),r=t(P()),i=new Set([`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`]);function o(e,t){return e.includes(`-`)?!i.has(e):!!(t&&typeof t.is==`string`)}var s={reactCompat:!0};function c(e,t){if(typeof e==`string`){if(!e.trim()){t.style={};return}try{t.style=(0,r.default)(e,s)}catch{t.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(`.`)[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set([`tr`,`tbody`,`thead`,`tfoot`,`colgroup`,`table`,`head`,`html`,`frameset`]),e.canTextBeChildOfNode=function(t){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)},e.returnFirstArg=function(e){return e}})),I=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=o;var t=te(),n=F(),r=[`checked`,`value`],i=[`input`,`select`,`textarea`],a={reset:!0,submit:!0};function o(e,o){e===void 0&&(e={});var c={},l=!!(e.type&&a[e.type]);for(var u in e){var d=e[u];if((0,t.isCustomAttribute)(u)){c[u]=d;continue}var f=u.toLowerCase(),p=s(f);if(p){var m=(0,t.getPropertyInfo)(p);switch(r.includes(p)&&i.includes(o)&&!l&&(p=s(`default`+f)),c[p]=d,m?.type){case t.BOOLEAN:c[p]=!0;break;case t.OVERLOADED_BOOLEAN:d===``&&(c[p]=!0);break}continue}n.PRESERVE_CUSTOM_ATTRIBUTES&&(c[u]=d)}return(0,n.setStyleProp)(e.style,c),c}function s(e){return t.possibleStandardNames[e]}})),ie=e((e=>
vendor: 4,618 bytes, line 3
3{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=s;var n=a(),r=t(I()),i=F(),o={cloneElement:n.cloneElement,createElement:n.createElement,isValidElement:n.isValidElement};function s(e,t){t===void 0&&(t={});for(var n=[],a=typeof t.replace==`function`,l=t.transform??i.returnFirstArg,u=t.library??o,d=u.cloneElement,f=u.createElement,p=u.isValidElement,m=e.length,h=0;h<m;h++){var g=e[h];if(a){var _=t.replace?.call(t,g,h);if(p(_)){m>1&&(_=d(_,{key:_.key??h})),n.push(l(_,g,h));continue}}if(g.type===`text`){var v=!g.data.trim().length;if(v&&g.parent&&!(0,i.canTextBeChildOfNode)(g.parent)||t.trim&&v)continue;n.push(l(g.data,g,h));continue}var y=g,b={};c(y)?((0,i.setStyleProp)(y.attribs.style,y.attribs),b=y.attribs):y.attribs&&(b=(0,r.default)(y.attribs,y.name));var x=void 0;switch(g.type){case`script`:case`style`:g.children[0]&&(b.dangerouslySetInnerHTML={__html:g.children[0].data});break;case`tag`:g.name===`textarea`&&g.children[0]?b.defaultValue=g.children[0].data:g.children?.length&&(x=s(g.children,t));break;default:continue}m>1&&(b.key=h),n.push(l(f(g.name,b,x),g,h))}return n.length===1?n[0]:n}function c(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&e.type===`tag`&&(0,i.isCustomComponent)(e.name,e.attribs)}})),ae=e((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=o;var n=t(M());e.htmlToDOM=n.default,e.attributesToProps=t(I()).default;var r=t(ie());e.domToReact=r.default;var i=O();Object.defineProperty(e,`Comment`,{enumerable:!0,get:function(){return i.Comment}}),Object.defineProperty(e,`Element`,{enumerable:!0,get:function(){return i.Element}}),Object.defineProperty(e,`ProcessingInstruction`,{enumerable:!0,get:function(){return i.ProcessingInstruction}}),Object.defineProperty(e,`Text`,{enumerable:!0,get:function(){return i.Text}});var a={lowerCaseAttributeNames:!1};function o(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);return e?(0,r.default)((0,n.default)(e,t?.htmlparser2??a),t):[]}})),L=i(),R=t(ae(),1),oe=R.default.default||R.default,se={verified:`_verified_lvyh0_1`},z=r(),ce=()=>(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-label":`Verified account`,role:`img`,className:se.verified,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z`})})}),le=()=>(0,z.jsx)(`svg`,{viewBox:`0 0 22 22`,"aria-label":`Verified account`,role:`img`,className:se.verified,children:(0,z.jsxs)(`g`,{children:[(0,z.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:`0-a`,x1:`4.411`,x2:`18.083`,y1:`2.495`,y2:`21.508`,children:[(0,z.jsx)(`stop`,{offset:`0`,stopColor:`#f4e72a`}),(0,z.jsx)(`stop`,{offset:`.539`,stopColor:`#cd8105`}),(0,z.jsx)(`stop`,{offset:`.68`,stopColor:`#cb7b00`}),(0,z.jsx)(`stop`,{offset:`1`,stopColor:`#f4ec26`}),(0,z.jsx)(`stop`,{offset:`1`,stopColor:`#f4e72a`})]}),(0,z.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:`0-b`,x1:`5.355`,x2:`16.361`,y1:`3.395`,y2:`19.133`,children:[(0,z.jsx)(`stop`,{offset:`0`,stopColor:`#f9e87f`}),(0,z.jsx)(`stop`,{offset:`.406`,stopColor:`#e2b719`}),(0,z.jsx)(`stop`,{offset:`.989`,stopColor:`#e2b719`})]}),(0,z.jsxs)(`g`,{clipRule:`evenodd`,fillRule:`evenodd`,children:[(0,z.jsx)(`path`,{d:`M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z`,fill:`url(#0-a)`}),(0,z.jsx)(`path`,{d:`M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z`,fill:`url(#0-b)`}),(0,z.jsx)(`path`,{d:`M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z`,fill:`#d18800`})]})]})}),B=()=>
3(0,z.jsx)(`svg`,{viewBox:`0 0 22 22`,"aria-label":`Verified account`,role:`img`,className:se.verified,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{clipRule:`evenodd`,d:`M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z`,fillRule:`evenodd`})})}),ue={root:`_root_98iqw_1`,article:`_article_98iqw_21`},de=({className:e,children:t})=>(0,z.jsx)(`div`,{className:n(`react-tweet-theme`,ue.root,e),children:(0,z.jsx)(`article`,{className:ue.article,children:t})}),fe=e=>(0,z.jsx)(`img`,{...e}),pe={verifiedOld:`_verifiedOld_lcna5_1`,verifiedBlue:`_verifiedBlue_lcna5_4`,verifiedGovernment:`_verifiedGovernment_lcna5_7`},me=({user:e,className:t})=>{let r=e.verified||e.is_blue_verified||e.verified_type,i=(0,z.jsx)(ce,{}),a=pe.verifiedBlue;if(r)switch(e.is_blue_verified||(a=pe.verifiedOld),e.verified_type){case`Government`:i=(0,z.jsx)(B,{}),a=pe.verifiedGovernment;break;case`Business`:i=(0,z.jsx)(le,{}),a=null;break}return r?(0,z.jsx)(`div`,{className:n(t,a),children:i}):null},he={label:`_label_36ucz_1`},ge=({user:e,className:t})=>{let r=e.highlighted_label;if(!r)return null;let i=r.badge?.url;return i?(0,z.jsx)(`div`,{className:n(he.label,t),children:(0,z.jsx)(`img`,{src:i,alt:r.description})}):null},V={header:`_header_nqq4j_1`,avatar:`_avatar_nqq4j_11`,avatarOverflow:`_avatarOverflow_nqq4j_16`,avatarSquare:`_avatarSquare_nqq4j_23`,avatarShadow:`_avatarShadow_nqq4j_26`,author:`_author_nqq4j_37`,authorLink:`_authorLink_nqq4j_44`,authorVerified:`_authorVerified_nqq4j_53`,authorLinkText:`_authorLinkText_nqq4j_56`,authorMeta:`_authorMeta_nqq4j_63`,authorFollow:`_authorFollow_nqq4j_66`,username:`_username_nqq4j_69`,follow:`_follow_nqq4j_74`,separator:`_separator_nqq4j_82`,brand:`_brand_nqq4j_86`,twitterIcon:`_twitterIcon_nqq4j_90`},_e=({tweet:e,components:t})=>{let r=t?.AvatarImg??fe,{user:i}=e;return(0,z.jsxs)(`div`,{className:V.header,children:[(0,z.jsxs)(`a`,{href:e.url,className:V.avatar,target:`_blank`,rel:`noopener noreferrer`,children:[(0,z.jsx)(`div`,{className:n(V.avatarOverflow,i.profile_image_shape===`Square`&&V.avatarSquare),children:(0,z.jsx)(r,{src:i.profile_image_url_https,alt:i.name,width:48,height:48})}),(0,z.jsx)(`div`,{className:V.avatarOverflow,children:(0,z.jsx)(`div`,{className:V.avatarShadow})})]}),(0,z.jsxs)(`div`,{className:V.author,children:[(0,z.jsxs)(`a`,{href:e.url,className:V.authorLink,target:`_blank`,rel:`noopener noreferrer`,children:[(0,z.jsx)(`div`,{className:V.authorLinkText,children:(0,z.jsx)(`span`,{title:i.name,children:i.name})}),(0,z.jsx)(me,{user:i,className:V.authorVerified}),(0,z.jsx)(ge,{user:i})]}),(0,z.jsxs)(`div`,{className:V.authorMeta,children:[(0,z.jsx)(`a`,{href:e.url,className:V.username,target:`_blank`,rel:`noopener noreferrer`,children:(0,z.jsxs)(`span`,{title:`@${i.screen_name}`,children:[`@`,i.screen_name]})}),(0,z.jsxs)(`div`,{className:V.authorFollow,children:[(0,z.jsx)(`span`,{className:V.separator,children:`·`}),(0,z.jsx)(`a`,{href:i.follow_url,className:V.follow,target:`_blank`,rel:`noopener noreferrer`,children:`Follow`})]})]})]}),(0,z.jsx)(`a`,{href:e.url,className:V.brand,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`View on Twitter`,children:(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,className:V.twitterIcon,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z`})})})})]})},ve={root:`_root_1ec15_1`},ye=({tweet:e})=>(0,z.jsxs)(`a`,{href:e.in_reply_to_url,className:ve.root,target:`_blank`,rel:`noopener noreferrer`,children:[`Replying to @`,e.in_reply_to_screen_name]}),be={root:`_root_eihfa_1`},xe=({href:e,children:t})=>(0,z.jsx)(`a`,{href:e,className:be.root,target:`_blank`,rel:`noopener noreferrer nofollow`,children:t}),Se={root:`_root_1xq52_1`},Ce=({tweet:e})=>(0,z.jsxs)(`p`,{className:Se.root,lang:e.lang,dir:`auto`,children:[e.entities.map((e,t)=>{switch(e.type){case`hashtag`:case`mention`:case`url`:case`symbol`:return(0,z.jsx)(xe,{href:e.href,children:e.text},t);case`media`:return;default:return(0,z.jsx)(`span`,{dangerouslySetInnerHTML:{__html:e.text}},t)}}),e.note_tweet?(0,z.jsx)(we,{tweet:e}):null]});function we({tweet:e}){return(0,z.jsxs)(xe,{href:e.url,children:[(0,z.jsx)(`span`,{children:`\xA0`}),`Show more`]})}var Te=new Intl.DateTimeFormat(`en-US`,{hour:`numeric`,minute:`2-digit`,hour12:!0,weekday:`short`,month:`short`,day:`numeric`,year:`numeric`}),Ee=e=>{let t={};for(let n of e)t[n.type]=n.value;return t},De=e=>{let t=Ee(Te.formatToParts(e));return`${`${t.hour}:${t.minute} ${t.dayPeriod}`} · ${`${t.month} ${t.day}, ${t.year}`}`},Oe=e=>`https://x.com/${e.user.screen_name}/status/${e.id_str}`,ke=e=>`https://x.com/${typeof e==`string`?e:e.user.screen_name}`,Ae=e=>`https://x.com/intent/like?tweet_id=${e.id_str}`,je=e=>`https://x.com/intent/tweet?in_reply_to=${e.id_str}`,Me=e=>`https://x.com/intent/follow?screen_name=${e.user.screen_name}
3`,Ne=e=>`https://x.com/hashtag/${e.text}`,Pe=e=>`https://x.com/search?q=%24${e.text}`,Fe=e=>`https://x.com/${e.in_reply_to_screen_name}/status/${e.in_reply_to_status_id_str}`,Ie=(e,t)=>{let n=new URL(e.media_url_https),r=n.pathname.split(`.`).pop();return r?(n.pathname=n.pathname.replace(`.${r}`,``),n.searchParams.set(`format`,r),n.searchParams.set(`name`,t),n.toString()):e.media_url_https},Le=e=>{let{variants:t}=e.video_info;return t.filter(e=>e.content_type===`video/mp4`).sort((e,t)=>(t.bitrate??0)-(e.bitrate??0))},Re=e=>{let t=Le(e);return t.length>1?t[1]:t[0]},ze=e=>e>999999?`${(e/1e6).toFixed(1)}M`:e>999?`${(e/1e3).toFixed(1)}K`:e.toString();function Be(e){let t=Array.from(e.text),n=[{indices:e.display_text_range,type:`text`}];return Ve(n,`hashtag`,e.entities.hashtags),Ve(n,`mention`,e.entities.user_mentions),Ve(n,`url`,e.entities.urls),Ve(n,`symbol`,e.entities.symbols),e.entities.media&&Ve(n,`media`,e.entities.media),He(e,n),n.map(e=>{let n=t.slice(e.indices[0],e.indices[1]).join(``);switch(e.type){case`hashtag`:return Object.assign(e,{href:Ne(e),text:n});case`mention`:return Object.assign(e,{href:ke(e.screen_name),text:n});case`url`:case`media`:return Object.assign(e,{href:e.expanded_url,text:e.display_url});case`symbol`:return Object.assign(e,{href:Pe(e),text:n});default:return Object.assign(e,{text:n})}})}function Ve(e,t,n){for(let r of n)for(let[n,i]of e.entries()){if(i.indices[
30]>r.indices[0]||i.indices[1]<r.indices[1])continue;let a=[{...r,type:t}];i.indices[0]<r.indices[0]&&a.unshift({indices:[i.indices[0],r.indices[0]],type:`text`}),i.indices[1]>r.indices[1]&&a.push({indices:[r.indices[1],i.indices[1]],type:`text`}),e.splice(n,1,...a);break}}function He(e,t){e.entities.media&&e.entities.media[0].indices[0]<e.display_text_range[1]&&(e.display_text_range[1]=e.entities.media[0].indices[0]);let n=t.at(-1);n&&n.indices[1]>e.display_text_range[1]&&(n.indices[1]=e.display_text_range[1])}var Ue=e=>({...e,url:Oe(e),user:{...e.user,url:ke(e),follow_url:Me(e)},like_url:Ae(e),reply_url:je(e),in_reply_to_url:e.in_reply_to_screen_name?Fe(e):void 0,entities:Be(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:Oe(e.quoted_tweet),entities:Be(e.quoted_tweet)}:void 0}),H={root:`_root_g9tkv_1`,rounded:`_rounded_g9tkv_6`,mediaWrapper:`_mediaWrapper_g9tkv_10`,grid2Columns:`_grid2Columns_g9tkv_17`,grid3:`_grid3_g9tkv_20`,grid2x2:`_grid2x2_g9tkv_23`,mediaContainer:`_mediaContainer_g9tkv_26`,mediaLink:`_mediaLink_g9tkv_34`,skeleton:`_skeleton_g9tkv_38`,image:`_image_g9tkv_43`},U={anchor:`_anchor_fp31d_1`,videoButton:`_videoButton_fp31d_17`,videoButtonIcon:`_videoButtonIcon_fp31d_35`,watchOnTwitter:`_watchOnTwitter_fp31d_44`,viewReplies:`_viewReplies_fp31d_60`},W=t(a(),1),We=({tweet:e,media:t})=>{let[r,i]=(0,W.useState)(!0),[a,o]=(0,W.useState)(!1),[s,c]=(0,W.useState)(!1),l=Re(t),u=0;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`video`,{className:H.image,poster:Ie(t,`small`),controls:!r,playsInline:!0,preload:`none`,tabIndex:r?-1:0,onPlay:()=>{u&&window.clearTimeout(u),a||o(!0),s&&c(!1)},onPause:()=>{u&&window.clearTimeout(u),u=window.setTimeout(()=>{a&&o(!1),u=0},100)},onEnded:()=>{c(!0)},children:(0,z.jsx)(`source`,{src:l.url,type:l.content_type})}),r&&(0,z.jsx)(`button`,{type:`button`,className:U.videoButton,"aria-label":`View video on X`,onClick:e=>{let t=e.currentTarget.previousSibling;e.preventDefault(),i(!1),t.load(),t.play().then(()=>{o(!0),t.focus()}).catch(e=>{console.error(`Error playing video:`,e),i(!0),o(!1)})},children:(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,className:U.videoButtonIcon,"aria-hidden":`true`,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M21 12L4 2v20l17-10z`})})})}),!a&&!s&&(0,z.jsx)(`div`,{className:U.watchOnTwitter,children:(0,z.jsx)(`a`,{href:e.url,className:U.anchor,target:`_blank`,rel:`noopener noreferrer`,children:r?`Watch on X`:`Continue watching on X`})}),s&&(0,z.jsx)(`a`,{href:e.url,className:n(U.anchor,U.viewReplies),target:`_blank`,rel:`noopener noreferrer`,children:`View replies`})]})},Ge=e=>(0,z.jsx)(`img`,{...e}),Ke=(e,t)=>{let n=56.25;return t===1&&(n=100/e.original_info.width*e.original_info.height),t===2&&(n*=2),{width:e.type===`photo`?void 0:`unset`,paddingBottom:`${n}%`}},qe=({tweet:e,components:t,quoted:r})=>{let i=e.mediaDetails?.length??0,a=t?.MediaImg??Ge;return(0,z.jsx)(`div`,{className:n(H.root,!r&&H.rounded),children:(0,z.jsx)(`div`,{className:n(H.mediaWrapper,i>1&&H.grid2Columns,i===3&&H.grid3,i>4&&H.grid2x2),children:e.mediaDetails?.map(t=>(0,z.jsx)(W.Fragment,{children:t.type===`photo`?(0,z.jsxs)(`a`,{href:e.url,className:n(H.mediaContainer,H.mediaLink),target:`_blank`,rel:`noopener noreferrer`,children:[(0,z.jsx)(`div`,{className:H.skeleton,style:Ke(t,i)}),(0,z.jsx)(a,{src:Ie(t,`small`),alt:t.ext_alt_text||`Image`,className:H.image,draggable:!0})]},t.media_url_https):(0,z.jsxs)(`div`,{className:H.mediaContainer,children:[(0,z.jsx)(`div`,{className:H.skeleton,style:Ke(t,i)}),(0,z.jsx)(We,{tweet:e,media:t})]},t.media_url_https)},t.media_url_https))})})},Je={root:`_root_i24yn_1`},Ye=({tweet:e})=>{let t=new Date(e.created_at),n=De(t);return(0,z.jsx)(`a`,{className:Je.root,href:e.url,target:`_blank`,rel:`noopener noreferrer`,"aria-label":n,children:(0,z.jsx)(`time`,{dateTime:t.toISOString(),children:n})})},Xe={info:`_info_19qcj_1`,infoLink:`_infoLink_19qcj_10`,infoIcon:`_infoIcon_19qcj_30`},Ze=({tweet:e})=>(0,z.jsxs)(`div`,{className:Xe.info,children:[(0,z.jsx)(Ye,{tweet:e}),(0,z.jsx)(`a`,{className:Xe.infoLink,href:`https://help.x.com/en/x-for-websites-ads-info-and-privacy`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Twitter for Websites, Ads Information and Privacy`,children:(0,z.jsx)(`svg`,{viewB
3ox:`0 0 24 24`,"aria-hidden":`true`,className:Xe.infoIcon,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z`})})})})]}),G={actions:`_actions_n2anf_1`,like:`_like_n2anf_13`,reply:`_reply_n2anf_14`,copy:`_copy_n2anf_15`,likeIconWrapper:`_likeIconWrapper_n2anf_27`,likeCount:`_likeCount_n2anf_30`,replyIconWrapper:`_replyIconWrapper_n2anf_35`,copyIconWrapper:`_copyIconWrapper_n2anf_36`,likeIcon:`_likeIcon_n2anf_27`,replyIcon:`_replyIcon_n2anf_35`,copyIcon:`_copyIcon_n2anf_36`,replyText:`_replyText_n2anf_56`,copyText:`_copyText_n2anf_57`},Qe=({tweet:e})=>{let[t,n]=(0,W.useState)(!1),r=()=>{navigator.clipboard.writeText(e.url),n(!0)};return(0,W.useEffect)(()=>{if(t){let e=setTimeout(()=>{n(!1)},6e3);return()=>clearTimeout(e)}},[t]),(0,z.jsxs)(`button`,{type:`button`,className:G.copy,"aria-label":`Copy link`,onClick:r,children:[(0,z.jsx)(`div`,{className:G.copyIconWrapper,children:t?(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,className:G.copyIcon,"aria-hidden":`true`,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z`})})}):(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,className:G.copyIcon,"aria-hidden":`true`,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z`})})})}),(0,z.jsx)(`span`,{className:G.copyText,children:t?`Copied!`:`Copy link`})]})},$e=({tweet:e})=>{let t=ze(e.favorite_count);return(0,z.jsxs)(`div`,{className:G.actions,children:[(0,z.jsxs)(`a`,{className:G.like,href:e.like_url,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Like. This Tweet has ${t} likes`,children:[(0,z.jsx)(`div`,{className:G.likeIconWrapper,children:(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,className:G.likeIcon,"aria-hidden":`true`,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z`})})})}),(0,z.jsx)(`span`,{className:G.likeCount,children:t})]}),(0,z.jsxs)(`a`,{className:G.reply,href:e.reply_url,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Reply to this Tweet on Twitter`,children:[(0,z.jsx)(`div`,{className:G.replyIconWrapper,children:(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,className:G.replyIcon,"aria-hidden":`true`,children:(0,z.jsx)(`g`,{children:(0,z.jsx)(`path`,{d:`M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z`})})})}),(0,z.jsx)(`span`,{className:G.replyText,children:`Reply`})]}),(0,z.jsx)(Qe,{tweet:e})]})},et={replies:`_replies_1cutb_1`,link:`_link_1cutb_4`,text:`_text_1cutb_23`},tt=({tweet:e})=>(0,z.jsx)(`div`,{className:et.replies,children:(0,z.jsx)(`a`,{className:et.link,href:e.url,target:`_blank`,rel:`noopener noreferrer`,children:(0,z.jsx)(`span`,{className:et.text,children:e.conversation_count===0?`Read more on X`:e.conversation_count===1?`Read ${ze(e.conversation_count)} reply`:`Read ${ze(e.conversation_count)} replies`})})}),nt={root:`_root_q5799_1`,article:`_article_q5799_16`},rt=({tweet:e,children:t})=>(0,z.jsx)(`div`,{className:nt.root,onClick:t=>{t.preventDefault(),window.open(e.url,`_blank`)},children:(0,z.jsx)(`article`,{className:nt.article,children:t})}),K={header:`_header_f00ab_1`,avatar:`_avatar_f00ab_11`,avatarOverflow:`_avatarOverflow_f00ab_16`,avatarSquare:`_avatarSquare_f00ab_23`,author:`_author_f00ab_27`,authorText:`_authorText_f00ab_33`,username:`_username_f00ab_40`},it=({tweet:e,components:t})=>{let{user:r}=e,i=t?.AvatarImg??fe;return(0,z.jsxs)(`div`,{className:K.header,children:[(0,z.jsx)(`a`,{href:e.url,className:K.avatar,target:`_blank`,rel:`noopener noreferrer`,children:(0,z.jsx)(`div`,{className:n(K.avatarOverflow,r.profile_image_shape===`Square`&&K.avatarSquare),children:(0,z.jsx)(i,{src:r.profile_image_url_https,alt:r.name,width:20,height:20})})}),(0,z.jsxs)(`div`,{className:K.author,children:[(0,z.jsx)(`div`,{className:K.authorText,children:(0,z.jsx)(`span`,{title:r.name,children:r.name})}),(0,z.jsx)(me,{user:r}),(0,z.jsx)(ge,{user:r}),(0,z.jsx)(`div`,{className:K.username,children:(0,z.jsxs)(`span`,{title:`@${r.screen_name}`,children:[`@`,r.screen_name]})})]})]})},at={root:`_root_175ot_1`},ot=({tweet:e})=>(0,z.jsx)(`p`,{className:at.root,lang:e.lang,dir:`auto`,children:e.entities.map((e,t)=>(0,z.jsx)(`span`,{dangerouslySetInnerHTML:{__html:e.text}},t))}),st=({tweet:e,components:t})=>(0,z.jsxs)(rt,{tweet:e,children:[(0,z.jsx)(it,{tweet:e,components:t}),(0,z.jsx)(ot,{tweet:e}),e.mediaDetails?.length?(0,z.jsx)(qe,{quoted:!0,tweet:e}):null]}),ct=({tweet:e,components:t})=>{let n=(0,W.useMemo)(()=>Ue(e),[e]);return(0,z.jsxs)(de,{children:[(0,z.jsx)(_e,{tweet:n,components:t}),n.in_reply_to_status_id_str&&(0,z.jsx)(ye,{tweet:n}),(0,z.jsx)(Ce,{tweet:n}),n.mediaDetails?.length?(0,z.jsx)(qe,{tweet:n,components:t}):null,n.quoted_tweet&&(0,z.jsx)(st,{tweet:n.quoted_tweet,components:t}),(0,z.jsx)(Ze,{tweet:n}),(0,z.jsx)($e,{tweet:n}),(0,z.jsx)(tt,{tweet:n})]})},lt={root:`_root_16yxa_1`},ut=e=>(0,z.jsx)(de,{children:(0,z.jsxs)(`div`,{className:lt.root,children:[(0,z.jsx)(`h3`,{children:`Tweet not found`}),(0,z.jsx)(`p`,{children:`The embedded tweet could not be found…`})]})}),dt={skeleton:`_skeleton_oi7hr_1`,loading:`_loading_oi7hr_1`},ft=({style:e})=>(0,z.jsx)(`span`,{className:dt.skeleton,style:e}),pt={root:`_root_17qqv_1`},mt=()=>(0,z.jsxs)(de,{className:pt.root,children:[(0,z.jsx)(ft,{style:{height:`3rem`,marginBottom:`0.75rem`}}),(0,z.jsx)(ft,{style:{height:`6rem`,margin:`0.5rem 0`}}),(0,z.jsx)(`div`,{style:{borderTop:`var(--tweet-border)`,margin:`0.5rem 0`}}),(0,z.jsx)(ft,{style:{height:`2rem`}}),(0,z.jsx)(ft,{style:{height:`2rem`,borderRadius:`9999px`,marginTop:`0.5rem`}})]}),ht=Object.prototype.hasOwnProperty;function gt(e,t){var n,r;if(e===t)return!0;
vendor: 3,088 bytes, line 3
3if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&gt(e[r],t[r]););return r===-1}if(!n||typeof e==`object`){for(n in r=0,e)if(ht.call(e,n)&&++r&&!ht.call(t,n)||!(n in t)||!gt(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}var q=new WeakMap,J=()=>{},Y=void 0,_t=Object,X=e=>e===Y,Z=e=>typeof e==`function`,Q=(e,t)=>({...e,...t}),vt=e=>Z(e.then),yt={},bt={},xt=`undefined`,St=typeof window!=xt,Ct=typeof document!=xt,wt=St&&`Deno`in window,Tt=()=>St&&typeof window.requestAnimationFrame!=xt,Et=(e,t)=>{let n=q.get(e);return[()=>!X(t)&&e.get(t)||yt,r=>{if(!X(t)){let i=e.get(t);t in bt||(bt[t]=i),n[5](t,Q(i,r),i||yt)}},n[6],()=>!X(t)&&t in bt?bt[t]:!X(t)&&e.get(t)||yt]},Dt=!0,Ot=()=>Dt,[kt,At]=St&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[J,J],jt=()=>{let e=Ct&&document.visibilityState;return X(e)||e!==`hidden`},Mt=e=>(Ct&&document.addEventListener(`visibilitychange`,e),kt(`focus`,e),()=>{Ct&&document.removeEventListener(`visibilitychange`,e),At(`focus`,e)}),Nt=e=>{let t=()=>{Dt=!0,e()},n=()=>{Dt=!1};return kt(`online`,t),kt(`offline`,n),()=>{At(`online`,t),At(`offline`,n)}},Pt={isOnline:Ot,isVisible:jt},Ft={initFocus:Mt,initReconnect:Nt},It=!W.useId,$=!St||wt,Lt=e=>Tt()?window.requestAnimationFrame(e):setTimeout(e,1),Rt=$?W.useEffect:W.useLayoutEffect,zt=typeof navigator<`u`&&navigator.connection,Bt=!$&&zt&&([`slow-2g`,`2g`].includes(zt.effectiveType)||zt.saveData),Vt=new WeakMap,Ht=e=>_t.prototype.toString.call(e),Ut=(e,t)=>e===`[object ${t}]`,Wt=0,Gt=e=>{let t=typeof e,n=Ht(e),r=Ut(n,`Date`),i=Ut(n,`RegExp`),a=Ut(n,`Object`),o,s;if(_t(e)===e&&!r&&!i){if(o=Vt.get(e),o)return o;if(o=++Wt+`~`,Vt.set(e,o),Array.isArray(e)){for(o=`@`,s=0;s<e.length;s++)o+=Gt(e[s])+`,`;Vt.set(e,o)}if(a){o=`#`;let t=_t.keys(e).sort();for(;!X(s=t.pop());)X(e[s])||(o+=s+`:`+Gt(e[s])+`,`);Vt.set(e,o)}}else o=r?e.toJSON():t==`symbol`?e.toString():t==`string`?JSON.stringify(e):``+e;return o},Kt=e=>{if(Z(e))try{e=e()}catch{e=``}let t=e;return e=typeof e==`string`?e:(Array.isArray(e)?e.length:e)?Gt(e):``,[e,t]},qt=0,Jt=()=>++qt;async function Yt(...e){let[t,n,r,i]=e,a=Q({populateCache:!0,throwOnError:!0},typeof i==`boolean`?{revalidate:i}:i||{}),o=a.populateCache,s=a.rollbackOnError,c=a.optimisticData,l=e=>typeof s==`function`?s(e):s!==!1,u=a.throwOnError;if(Z(n)){let e=n,r=[],i=t.keys();for(let n of i)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(d))}return d(n);async function d(n){let[i]=Kt(n);if(!i)return;let[s,d]=Et(t,i),[f,p,m,h]=q.get(t),g=()=>{let e=f[i];return(Z(a.revalidate)?a.revalidate(s().data,n):a.revalidate!==!1)&&(delete m[i],delete h[i],e&&e[0])?e[0](2).then(()=>s().data):s().data};if(e.length<3)return g();let _=r,v,y=!1,b=Jt();p[i]=[b,0];let x=!X(c),S=s(),C=S.data,w=S._c,T=X(w)?C:w;if(x&&(c=Z(c)?c(T,C):c,d({data:c,_c:T})),Z(_))try{_=_(T)}catch(e){v=e,y=!0}if(_&&vt(_))if(_=await _.catch(e=>{v=e,y=!0}
3),b!==p[i][0]){if(y)throw v;return _}else y&&x&&l(v)&&(o=!0,d({data:T,_c:Y}));if(o&&(y||(Z(o)?d({data:o(_,T),error:Y,_c:Y}):d({data:_,error:Y,_c:Y}))),p[i][1]=Jt(),Promise.resolve(g()).then(()=>{d({_c:Y})}),y){if(u)throw v;return}return _}}var Xt=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},Zt=(e,t)=>{if(!q.has(e)){let n=Q(Ft,t),r=Object.create(null),i=Yt.bind(Y,e),a=J,o=Object.create(null),s=(e,t)=>{let n=o[e]||[];return o[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},c=(t,n,r)=>{e.set(t,n);let i=o[t];if(i)for(let e of i)e(n,r)},l=()=>{if(!q.has(e)&&(q.set(e,[r,Object.create(null),Object.create(null),Object.create(null),i,c,s]),!$)){let t=n.initFocus(setTimeout.bind(Y,Xt.bind(Y,r,0))),i=n.initReconnect(setTimeout.bind(Y,Xt.bind(Y,r,1)));a=()=>{t&&t(),i&&i(),q.delete(e)}}};return l(),[e,i,l,a]}return[e,q.get(e)[4]]},Qt=(e,t,n,r,i)=>{let a=n.errorRetryCount,o=i.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;!X(a)&&o>a||setTimeout(r,s,i)},$t=gt,[en,tn]=Zt(new Map),nn=Q({onLoadingSlow:J,onSuccess:J,onError:J,onErrorRetry:Qt,onDiscarded:J,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Bt?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Bt?5e3:3e3,compare:$t,isPaused:()=>!1,cache:en,mutate:tn,fallback:{}},Pt),rn=(e,t)=>{let n=Q(e,t);if(t){let{use:r,fallback:i}=e,{use:a,fallback:o}=t;r&&a&&(n.use=r.concat(a)),i&&o&&(n.fallback=Q(i,o))}return n},an=(0,W.createContext)({}),on=e=>{let{value:t}=e,n=(0,W.useContext)(an),r=Z(t),i=(0,W.useMemo)(()=>r?t(n):t,[r,n,t]),a=(0,W.useMemo)(()=>r?i:rn(n,i),[r,n,i]),o=i&&i.provider,s=(0,W.useRef)(Y);o&&!s.current&&(s.current=Zt(o(a.cache||en),i));let c=s.current;return c&&(a.cache=c[0],a.mutate=c[1]),Rt(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,W.createElement)(an.Provider,Q(e,{value:a}))},sn=St&&window.__SWR_DEVTOOLS_USE__,cn=sn?window.__SWR_DEVTOOLS_USE__:[],ln=()=>{sn&&(window.__SWR_DEVTOOLS_REACT__=W.default)},un=e=>Z(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],dn=()=>{let e=(0,W.useContext)(an);return(0,W.useMemo)(()=>Q(nn,e),[e])},fn=cn.concat(e=>(t,n,r)=>e(t,n&&((...e)=>{let[r]=Kt(t),[,,,i]=q.get(en);if(r.startsWith(`$inf$`))return n(...e);let a=i[r];return X(a)?n(...e):(delete i[r],a)}),r)),pn=e=>function(...t){let n=dn(),[r,i,a]=un(t),o=rn(n,a),s=e,{use:c}=o,l=(c||[]).concat(fn);for(let e=l.length;e--;)s=l[e](s);return s(r,i||o.fetcher||null,o)},mn=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}};ln();var hn=s(),gn=W.use||(e=>{switch(e.status){case`pending`:throw e;case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:throw e.status=`pending`,e.then(t=>{e.status=`fulfilled`,e.value=t},t=>{e.status=`rejected`,e.reason=t}),e}}),_n={dedupe:!0},vn=Promise.resolve(Y),yn=()=>J,bn=(e,t,n)=>{let{cache:r,compare:i,suspense:a,fallbackData:o,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:l,refreshWhenHidden:u,refreshWhenOffline:d,keepPreviousData:f,strictServerPrefetchWarning:p}=n,[m,h,g,_]=q.get(r),[v,y]=Kt(e),b=(0,W.useRef)(!1),x=(0,W.useRef)(!1),S=(0,W.useRef)(v),C=(0,W.useRef)(t),w=(0,W.useRef)(n),T=()=>w.current,E=()=>T().isVisible()&&T().isOnline(),[D,O,k,A]=Et(r,v),j=(0,W.useRef)({}).current,M=X(o)?X(n.fallback)?Y:n.fallback[v]:o,ee=(e,t)=>{for(let n in j){let r=n;if(r===`data`){if(!i(e[r],t[r])&&(!X(e[r])||!i(ae,t[r])))return!1}else if(t[r]!==e[r])return!1}return!0},te=!b.current,ne=(0,W.useMemo)(()=>{let e=D(),n=A(),r=e=>{let n=Q(e);return delete n._k,!(!v||!t||T().isPaused())&&(te&&!X(s)?s:X(X(M)?n.data:M)||c)?{isValidating:!0,isLoading:!0,...n}:n},i=r(e),a=e===n?i:r(n),o=i;return[()=>{let e=r(D());return ee(e,o)?(o.data=e.data,o.isLoading=e.isLoading,o.isValidating=e.isValidating,o.error=e.error,o):(o=e,e)},()=>a]},[r,v]),N=(0,hn.useSyncExternalStore)((0,W.useCallback)(e=>k(v,(t,n)=>{ee(n,t)||e()}),[r,v]),ne[0],ne[1]),re=m[v]&&m[v].length>0,P=N.data,F=X(P)?M&&vt(M)?gn(M):M:P,I=N.error,ie=(0,W.useRef)(F),ae=f?X(P)?X(ie.current)?F:ie.current:P:F,L=v&&X(F),R=(0,W.useRef)(null);!$&&(0,hn.useSyncExternalStore)(yn,()=>(R.current=!1,R),()=>(R.current=!0,R));let oe=R.current;p&&oe&&!a&&L&&console.warn(`Missing pre-initiated data for serialized key "${v}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);
3let se=!v||!t||T().isPaused()||re&&!X(I)?!1:te&&!X(s)?s:a?X(F)?!1:c:X(F)||c,z=te&&se,ce=X(N.isValidating)?z:N.isValidating,le=X(N.isLoading)?z:N.isLoading,B=(0,W.useCallback)(async e=>{let t=C.current;if(!v||!t||x.current||T().isPaused())return!1;let r,a,o=!0,s=e||{},c=!g[v]||!s.dedupe,l=()=>It?!x.current&&v===S.current&&b.current:v===S.current,u={isValidating:!1,isLoading:!1},d=()=>{O(u)},f=()=>{let e=g[v];e&&e[1]===a&&delete g[v]},p={isValidating:!0};X(D().data)&&(p.isLoading=!0);try{if(c&&(O(p),n.loadingTimeout&&X(D().data)&&setTimeout(()=>{o&&l()&&T().onLoadingSlow(v,n)},n.loadingTimeout),g[v]=[t(y),Jt()]),[r,a]=g[v],r=await r,c&&setTimeout(f,n.dedupingInterval),!g[v]||g[v][1]!==a)return c&&l()&&T().onDiscarded(v),!1;u.error=Y;let e=h[v];if(!X(e)&&(a<=e[0]||a<=e[1]||e[1]===0))return d(),c&&l()&&T().onDiscarded(v),!1;let s=D().data;u.data=i(s,r)?s:r,c&&l()&&T().onSuccess(r,v,n)}catch(e){f();let t=T(),{shouldRetryOnError:n}=t;t.isPaused()||(u.error=e,c&&l()&&(t.onError(e,v,t),(n===!0||Z(n)&&n(e))&&(!T().revalidateOnFocus||!T().revalidateOnReconnect||E())&&t.onErrorRetry(e,v,t,e=>{let t=m[v];t&&t[0]&&t[0](3,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return o=!1,d(),!0},[v,r]),ue=(0,W.useCallback)((...e)=>Yt(r,S.current,...e),[]);if(Rt(()=>{C.current=t,w.current=n,X(P)||(ie.current=P)}),Rt(()=>{if(!v)return;let e=B.bind(Y,_n),t=0;T().revalidateOnFocus&&(t=Date.now()+T().focusThrottleInterval);let n=mn(v,m,(n,r={})=>{if(n==0){let n=Date.now();T().revalidateOnFocus&&n>t&&E()&&(t=n+T().focusThrottleInterval,e())}else if(n==1)T().revalidateOnReconnect&&E()&&e();else if(n==2)return B();else if(n==3)return B(r)});return x.current=!1,S.current=v,b.current=!0,O({_k:y}),se&&(g[v]||(X(F)||$?e():Lt(e))),()=>{x.current=!0,n()}},[v]),Rt(()=>{let e;function t(){let t=Z(l)?l(D().data):l;t&&e!==-1&&(e=setTimeout(n,t))}function n(){!D().error&&(u||T().isVisible())&&(d||T().isOnline())?B(_n).then(t):t()}return t(),()=>{e&&=(clearTimeout(e),-1)}},[l,u,d,v]),(0,W.useDebugValue)(ae),a){if(!It&&$&&L)throw Error(`Fallback data is required when using Suspense in SSR.`);L&&(C.current=t,w.current=n,x.current=!1);let e=_[v];if(gn(!X(e)&&L?ue(e):vn),!X(I)&&L)throw I;let r=L?B(_n):vn;!X(ae)&&L&&(r.status=`fulfilled`,r.value=!0),gn(r)}return{mutate:ue,get data(){return j.data=!0,ae},get error(){return j.error=!0,I},get isValidating(){return j.isValidating=!0,ce},get isLoading(){return j.isLoading=!0,le}}};_t.defineProperty(on,`defaultValue`,{value:nn});var xn=pn(bn),Sn=class extends Error{constructor({message:e,status:t,data:n}){super(e),this.name=`TwitterApiError`,this.status=t,this.data=n}},Cn=xn.default||xn,wn=`https://react-tweet.vercel.app`;async function Tn([e,t]){let n=await fetch(e,t),r=await n.json();if(n.ok)return r.data||null;throw new Sn({message:`Failed to fetch tweet at "${e}" with "${n.status}".`,data:r,status:n.status})}var En=(e,t,n)=>{let{isLoading:r,data:i,error:a}=Cn(()=>t||e?[t||e&&`${wn}/api/tweet/${e}`,n]:null,Tn,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(r||i===void 0&&!a),data:i,error:a}},Dn=({id:e,apiUrl:t,fallback:n=(0,z.jsx)(mt,{}),components:r,fetchOptions:i,onError:a})=>{let{data:o,error:s,isLoading:c}=En(e,t,i);return c?n:s||!o?(0,z.jsx)(r?.TweetNotFound||ut,{error:a?a(s):s}):(0,z.jsx)(ct,{tweet:o,components:r})},On=`<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3"/></svg>`;function kn(){let e=document.createElement(`button`);return e.type=`button`,e.setAttribute(`aria-label`,`動画を再生`),e.innerHTML=On,Object.assign(e.style,{position:`absolute`,top:`50%`,left:`50%`,translate:`-50% -50%`,width:`56px`,height:`56px`,display:`flex`,alignItems:`center`,justifyContent:`center`,borderRadius:`50%`,border:`none`,color:`rgba(255,255,255,0.9)`,background:`rgba(0,0,0,0.35)`,backdropFilter:`blur(12px)`,WebkitBackdropFilter:`blur(12px)`,boxShadow:`0 2px 8px rgba(0,0,0,0.15)`,cursor:`pointer`,opacity:`0`,transform:`scale(0.95)`,transition:`opacity 200ms cubic-bezier(0.25,0.46,0.45,0.94), transform 200ms cubic-bezier(0.25,0.46,0.45,0.94)`,pointerEvents:`none`,zIndex:`1`}),e}function An(e){let t=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=document.createElement(`div`);n.style.position=`relative`,n.style.cursor=`pointer`,e.parentNode?.insertBefore(n,e),n.appendChild(e);let r=kn();n.appendChild(r);function i(){r.style.opacity=`1`,r.style.transform=`scale(1)`,r.setAttribute(`aria-label`,`動画を再生`)}function a(){r.style.opacity=`0`,r.style.transform=`scale(0.95)`,r.setAttribute(`aria-label`,`動画を一時停止`)}function o(){e.paused?i():a()}t.matches&&e.autoplay&&e.pause(),e.autoplay&&!t.matches?a():i(),e.addEventListener(`play`,o),e.addEventListener(`pause`,o);function s(){e.paused?e.play():e.pause()}return n.addEventListener(`click`,s),()=>{e.removeEventListener(`play`,o),e.removeEventListener(`pause`,o),n.removeEventListener(`click`,s)}}
3function jn(e){let t=(0,L.c)(28),{href:n,title:r,description:i,image:a,siteName:s}=e,c;t[0]===n?c=t[1]:(c=n.includes(`github.com`),t[0]=n,t[1]=c);let l=c,u=``;try{let e;t[2]===n?e=t[3]:(e=new URL(n),t[2]=n,t[3]=e),u=e.hostname}catch{}let d,f;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(d=o(`not-prose group my-6 flex min-h-[105px] overflow-hidden rounded-lg border border-neutral-200 no-underline`,`transition-[background-color,border-color] duration-150 ease`,`hover:border-neutral-300 hover:bg-neutral-50/60`,`dark:border-neutral-800 dark:hover:border-neutral-700 dark:hover:bg-neutral-900/40`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-neutral-400`),f={touchAction:`manipulation`},t[4]=d,t[5]=f):(d=t[4],f=t[5]);let p;t[6]===r?p=t[7]:(p=r&&(0,z.jsx)(`span`,{className:`line-clamp-1 text-[0.9rem] font-medium leading-snug text-neutral-900 dark:text-neutral-100`,children:r}),t[6]=r,t[7]=p);let m;t[8]===i?m=t[9]:(m=i&&(0,z.jsx)(`span`,{className:`line-clamp-1 text-[0.8rem] leading-normal text-neutral-500 dark:text-neutral-400`,children:i}),t[8]=i,t[9]=m);let h;t[10]!==u||t[11]!==l?(h=l?(0,z.jsx)(`svg`,{className:`size-3.5 shrink-0`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,children:(0,z.jsx)(`path`,{d:`M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12Z`})}):(0,z.jsx)(`img`,{src:`https://www.google.com/s2/favicons?domain=${u}&sz=32`,alt:``,width:14,height:14,className:`size-3.5 shrink-0 rounded-sm`,loading:`lazy`}),t[10]=u,t[11]=l,t[12]=h):h=t[12];let g=s||u,_;t[13]===g?_=t[14]:(_=(0,z.jsx)(`span`,{children:g}),t[13]=g,t[14]=_);let v;t[15]!==h||t[16]!==_?(v=(0,z.jsxs)(`span`,{className:`flex items-center gap-1.5 text-xs text-neutral-400 dark:text-neutral-500`,children:[h,_]}),t[15]=h,t[16]=_,t[17]=v):v=t[17];let y;t[18]!==p||t[19]!==m||t[20]!==v?(y=(0,z.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col justify-center gap-1.5 px-4 py-3.5`,children:[p,m,v]}),t[18]=p,t[19]=m,t[20]=v,t[21]=y):y=t[21];let b;t[22]===a?b=t[23]:(b=a&&(0,z.jsx)(`div`,{className:`hidden w-[230px] shrink-0 border-l border-neutral-200 bg-cover bg-center sm:block dark:border-neutral-800`,role:`img`,"aria-hidden":`true`,style:{backgroundImage:`url("${a}")`}}),t[22]=a,t[23]=b);let x;return t[24]!==n||t[25]!==y||t[26]!==b?(x=(0,z.jsxs)(`a`,{href:n,target:`_blank`,rel:`noopener noreferrer`,className:d,style:f,children:[y,b]}),t[24]=n,t[25]=y,t[26]=b,t[27]=x):x=t[27],x}function Mn(e){return e.replace(/&quot;/g,`"`).replace(/&#39;/g,`'`).replace(/&apos;/g,`'`).replace(/&lt;/g,`<`).replace(/&gt;/g,`>`).replace(/&amp;/g,`&`)}function Nn(e){let t=e.parent;for(;t;){if(t instanceof R.Element&&t.name===`a`)return!0;t=t.parent}return!1}function Pn(e){let t=(0,L.c)(2),{id:n}=e,r;return t[0]===n?r=t[1]:(r=(0,z.jsx)(`div`,{className:`not-prose my-6 flex justify-center [&_>div]:!m-0`,children:(0,z.jsx)(Dn,{id:n})}),t[0]=n,t[1]=r),r}function Fn(e){let t=(0,L.c)(31),{html:n,className:r}=e,i=(0,W.useRef)(null),[a,s]=(0,W.useState)(null),c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{let e=i.current;if(!e)return;let t=[],n=e.querySelectorAll(`video`);for(let e of n)t.push(An(e));return()=>{for(let e of t)e()}},t[0]=c):c=t[0];let l;t[1]===n?l=t[2]:(l=[n],t[1]=n,t[2]=l),(0,W.useEffect)(c,l);let u,d,f;t[3]!==r||t[4]!==n?(u=i,t[8]===r?d=t[9]:(d=o(`prose prose-neutral dark:prose-invert max-w-none`,r),t[8]=r,t[9]=d),f=oe(n,{replace(e){if(e instanceof R.Element){if(e.attribs?.[`data-tweet-id`])return(0,z.jsx)(Pn,{id:e.attribs[`data-tweet-id`]});if(e.attribs?.[`data-link-card`]!==void 0){let t=e.attribs;return(0,z.jsx)(jn,{href:Mn(t[`data-href`]||``),title:Mn(t[`data-og-title`]||``),description:Mn(t[`data-og-description`]||``),image:Mn(t[`data-og-image`]||``),siteName:Mn(t[`data-og-site-name`]||``)})}if(e.name===`img`&&!Nn(e)){let t=e.attribs?.src||``,n=e.attribs?.alt||``;return t.endsWith(`.svg`)?(0,z.jsxs)(`figure`,{className:`not-prose my-8`,children:[(0,z.jsx)(`div`,{className:o(`overflow-hidden rounded-xl border bg-white p-4 sm:p-6`,`border-neutral-200 shadow-sm`,`dark:border-neutral-700 dark:shadow-none`),children:(0,z.jsx)(`img`,{src:t,alt:n,loading:`lazy`,className:`w-full`,style:{cursor:`zoom-in`,touchAction:`manipulation`},onClick:()=>s({src:t,alt:n})})}),n&&(0,z.jsx)(`figcaption`,{className:`mt-3 text-center text-sm text-neutral-500 dark:text-neutral-400`,children:n})]}):(0,z.jsx)(`img`,{src:t,alt:n,loading:e.attribs?.loading,className:e.attribs?.class,style:{cursor:`zoom-in`,touchAction:`manipulation`},onClick:()=>s({src:t,alt:n})})}}}}
3),t[3]=r,t[4]=n,t[5]=u,t[6]=d,t[7]=f):(u=t[5],d=t[6],f=t[7]);let p;t[10]!==u||t[11]!==d||t[12]!==f?(p=(0,z.jsx)(`div`,{ref:u,className:d,children:f}),t[10]=u,t[11]=d,t[12]=f,t[13]=p):p=t[13];let g=!!a,v;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(v=e=>!e&&s(null),t[14]=v):v=t[14];let S;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,z.jsx)(m,{className:`fixed inset-0 z-50 bg-black/80 backdrop-blur-sm duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0`}),t[15]=S):S=t[15];let C;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(C=()=>s(null),t[16]=C):C=t[16];let w=a?.alt||`画像プレビュー`,T;t[17]===w?T=t[18]:(T=(0,z.jsx)(h,{className:`sr-only`,children:w}),t[17]=w,t[18]=T);let E;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,z.jsx)(b,{className:`sr-only`,children:`クリックまたはEscキーで閉じる`}),t[19]=E):E=t[19];let D;t[20]===a?D=t[21]:(D=a&&(0,z.jsx)(`img`,{src:a.src,alt:a.alt,className:o(`max-h-[90vh] max-w-full rounded-lg object-contain`,a.src.endsWith(`.svg`)&&`bg-white p-4`)}),t[20]=a,t[21]=D);let O;t[22]!==T||t[23]!==D?(O=(0,z.jsxs)(_,{children:[S,(0,z.jsxs)(y,{className:`fixed inset-0 z-50 flex cursor-zoom-out items-center justify-center p-4 outline-none duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:p-8`,onClick:C,children:[T,E,D]})]}),t[22]=T,t[23]=D,t[24]=O):O=t[24];let k;t[25]!==O||t[26]!==g?(k=(0,z.jsx)(x,{open:g,onOpenChange:v,children:O}),t[25]=O,t[26]=g,t[27]=k):k=t[27];let A;return t[28]!==k||t[29]!==p?(A=(0,z.jsxs)(z.Fragment,{children:[p,k]}),t[28]=k,t[29]=p,t[30]=A):A=t[30],A}function In(){let e=(0,L.c)(11),{slug:t}=v.useParams(),n=u(),r=l.filter(Rn).sort(Ln),i;e[0]===t?i=e[1]:(i=e=>e.slug===t,e[0]=t,e[1]=i);let a=r.findIndex(i),o=r[a],s=r[a+1]??null,f=r[a-1]??null;if(!o)throw d();g(`ArrowLeft`,()=>{s&&n({to:`/blog/$slug`,params:{slug:s.slug}})}),g(`ArrowRight`,()=>{f&&n({to:`/blog/$slug`,params:{slug:f.slug}})});let m=new Date(o.date).toLocaleDateString(`ja-JP`),h;e[2]===m?h=e[3]:(h=(0,z.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:m}),e[2]=m,e[3]=h);let _;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,z.jsx)(w,{}),e[4]=_):_=e[4];let y;e[5]===o.html?y=e[6]:(y=(0,z.jsx)(C,{className:`flex-col p-4 sm:p-8`,children:(0,z.jsx)(Fn,{html:o.html})}),e[5]=o.html,e[6]=y);let b;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,z.jsx)(w,{}),e[7]=b):b=e[7];let x;return e[8]!==f||e[9]!==s?(x=(s||f)&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(C,{className:`flex items-center justify-between p-4 sm:p-8`,children:[s?(0,z.jsxs)(c,{to:`/blog/$slug`,params:{slug:s.slug},className:`group flex items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-foreground`,children:[(0,z.jsx)(p,{className:`size-4`}),(0,z.jsxs)(`div`,{className:`flex flex-col`,children:[(0,z.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`前の記事`}),(0,z.jsx)(`span`,{className:`group-hover:text-foreground`,children:s.title})]})]}):(0,z.jsx)(`div`,{}),f?(0,z.jsxs)(c,{to:`/blog/$slug`,params:{slug:f.slug},className:`group flex items-center gap-2 text-right text-sm text-muted-foreground transition-colors hover:text-foreground`,children:[(0,z.jsxs)(`div`,{className:`flex flex-col`,children:[(0,z.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`次の記事`}),(0,z.jsx)(`span`,{className:`group-hover:text-foreground`,children:f.title})]}),(0,z.jsx)(T,{className:`size-4`})]}):(0,z.jsx)(`div`,{})]}),(0,z.jsx)(w,{})]}),e[8]=f,e[9]=s,e[10]=x):x=e[10],(0,z.jsxs)(S,{children:[(0,z.jsxs)(C,{className:`flex-col p-4 py-8 sm:p-8 sm:py-16`,children:[(0,z.jsx)(`h1`,{className:`font-display text-primary font-normal`,children:o.title}),h]}),_,y,b,x]})}function Ln(e,t){return new Date(t.date).getTime()-new Date(e.date).getTime()}function Rn(e){return e.published}export{In as component};

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.