PageSourceSearch

https://virasty.com/4386.1d5f017.js

js virasty.com collected 2026-09-24 20:52:01 UTC 216,909 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmicroblog=self.webpackChunkmicroblog||[]).push([[4386],{84718(e,t,l){l(3362);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(41533),i=l(51984),u=l(42413),c=l(45532),d=l(5634),p=l(99912),v=l(15058),m=l(73352),f=l(79201);let y={key:0,class:"flex-center h-18 relative shrink-0"},g={key:1,class:"n-xelwwy"},k={key:1,class:"n-xelwwy"},h={key:1,class:"n-xelwwy"},b={key:1,class:"n-xelwwy"},x=(0,a.pM)({__name:"AbstractPagination",props:{loadingComponent:{},getNextPage:{type:Function},nextPageLink:{},loadingDown:{type:Boolean},loadingUp:{type:Boolean},finishedDown:{type:Boolean},finishedUp:{type:Boolean},errorDown:{type:Boolean},errorUp:{type:Boolean},result:{},errorClass:{},intersectionOptions:{},direction:{},noBottomNavSpacing:{type:Boolean},observerElementClass:{},pageID:{},isVisibleShowMoreButton:{type:Boolean},downButtonText:{}},emits:["intersectingUpChanged","intersectingDownChanged"],setup(e,{emit:t}){let l=(0,v.OA)(),x=(0,o.lW)(()=>!l.value&&(0,u.x3)()),C=(0,m.KR)(!1),w=(0,m.KR)(!1),R=(0,a.EW)(()=>e.downButtonText||(0,f.Ay)("load-more"));async function A(){C.value=!0,e.errorDown||(await (0,d.Ty)(),C.value&&e.getNextPage("down"))}async function _(){if((w.value=!0,!e.errorUp)&&(await (0,d.Ty)(),w.value)){if((await (0,d.uk)(0),!e.loadingDown)||(await (0,p.a)(()=>!e.loadingDown||!w.value),w.value&&(await (0,d.Ty)(),w.value)))e.getNextPage("up")}}return(0,a.wB)(C,e=>{t("intersectingDownChanged",e)}),(0,a.wB)(w,e=>{t("intersectingUpChanged",e)}),(t,l)=>((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.loadingComponent),{"error-class":e.errorClass},{default:(0,a.k6)(()=>{var u;return["both"===e.direction?((0,a.uX)(),(0,a.CE)("div",y,[(0,a.bF)(r.A,{options:e.intersectionOptions,onIntersect:_,onOutOfViewport:l[1]||(l[1]=e=>w.value=!1)},{fallback:(0,a.k6)(()=>{var s;return[e.finishedUp?e.loadingUp?((0,a.uX)(),(0,a.CE)("div",g,[(0,a.bF)(c.A,{class:"s-6"})])):e.finishedUp&&null!=(s=e.result)&&s.length?(0,a.RG)(t.$slots,"finish-up",{},void 0,void 0,2):(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(i.A,{key:0,loading:e.loadingUp,onClick:l[0]||(l[0]=t=>e.getNextPage("up"))},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(t.__("load-more")),1)]),_:1},8,["loading"]))]}),_:3},8,["options"]),(0,o.R1)(x)?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[e.errorUp?((0,a.uX)(),(0,a.Wv)(i.A,{key:0,loading:e.loadingUp,onClick:l[2]||(l[2]=t=>e.getNextPage("up"))},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(t.__("load-more")),1)]),_:1},8,["loading"])):e.loadingUp?((0,a.uX)(),(0,a.CE)("div",k,[(0,a.bF)(c.A,{class:"s-6"})])):e.finishedUp&&null!=(u=e.result)&&u.length?(0,a.RG)(t.$slots,"finish-up",{},void 0,void 0,2):(0,a.Q3)("",!0)],64)):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0),(0,a.RG)(t.$slots,"default"),(0,a.Lk)("div",{class:(0,n.C4)(["n-y1xfd2",[{"<xs:mb-bottom-nav":!e.noBottomNavSpacing},e.observerElementClass]])},[(0,a.bF)(r.A,{options:e.intersectionOptions,onIntersect:A,onOutOfViewport:l[4]||(l[4]=e=>C.value=!1)},{fallback:(0,a.k6)(()=>[e.finishedDown?e.loadingDown?((0,a.uX)(),(0,a.CE)("div",h,[(0,a.bF)(c.A,{class:"s-6"})])):(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(i.A,{key:0,link:e.nextPageLink,loading:e.loadingDown,onClick:l[3]||(l[3]=(0,s.D$)(t=>e.getNextPage("down"),["prevent"]))},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)((0,o.R1)(R)),1)]),_:1},8,["link","loading"]))]),_:1},8,["options"]),(0,o.R1)(x)?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[e.errorDown||!e.finishedDown&&e.pageID&&e.isVisibleShowMoreButton?((0,a.uX)(),(0,a.Wv)(i.A,{key:0,loading:e.loadingDown,onClick:l[5]||(l[5]=t=>e.getNextPage("down"))},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)((0,o.R1)(R)),1)]),_:1},8,["loading"])):e.loadingDown?((0,a.uX)(),(0,a.CE)("div",b,[(0,a.bF)(c.A,{class:"s-6"})])):(0,a.Q3)("",!0)],64)):(0,a.Q3)("",!0)],2)]}),_:3},8,["error-class"]))}});l.d(t,["A",0,x])},40309(e,t,l){l(3362);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(73595),i=l(89750),u=l(62557),c=l(46807),d=l(45532),p=l(6415),v=l(78934),m=l(17e3),f=l(5634),y=l(6520),g=l(12696),k=l(15846),h=l(41046),b=l(73352);let x={class:"flex items-center grow dir-ltr w-full min-w-0 pl-2 pr-3 py-5px"},C={class:"flex-center h-full shrink-0 relative"},w={key:0,class:"absolute bottom-0 right-0 -translate-x-1/4 s-14px rounded-inherit flex-center shrink-0"},R={class:"grow w-full min-w-0 pl-10px"},A={key:0,class:"flex items-center w-full min-w-0"},_=["dir","innerHTML"],L=["dir"],E={class:"flex items-center @text-subtitle-2 text-gray-600 w-full min-w-0"},W={key:0,class:"ml-2"},X=["dir","innerHTML"],M=(0,a.pM)({__name:"AudioPlayer",props:{audio:{},canDownload:{type:Boolean}},setup(e){e.audio.checkForNativeURI();let t=(0,a.EW)({get:()=>e.audio.playbackRate,set(t){e.audio.setPlaybackRate(t)}}),M=(0,a.EW)(()=>e.audio.isPlaying),F=(0,a.EW)(()=>e.audio.isLoading),B=(0,a.EW)(()=>e.audio.isCurrentAudio),T=(0,a.EW)(()=>M.value?l(99604):l(93388)),Q=(0,a.EW)(()=>e.audio.downloadPercent),S=(0,a.EW)(()=>e.audio.downloadable),z=(0,b.KR)(null),D=(0,a.EW)(()=>{var e;
1return!(null!=(e=z.value)&&e.animateOnOverflowPause)}),P=(0,a.EW)(()=>(0,g.J)(e.audio.title||"")),$=(0,a.EW)(()=>"rtl"===P.value?"reverse":"normal"),K=(0,a.EW)(()=>{var t;return(0,g.J)((null==(t=e.audio.metaData)?void 0:t.artist)||"")}),V=(0,a.EW)(()=>e.audio.title?k.W.processText(e.audio.title):""),I=(0,a.EW)(()=>{var t,l;return null!=(t=e.audio.metaData)&&t.artist?k.W.processText(null==(l=e.audio.metaData)?void 0:l.artist):""});async function H(){try{await e.audio.togglePlay()}catch(e){console.error(e)}}function U(){h.M.downloadMedia(e.audio,{preferMediaDownloadProcess:!0}).catch(f.wH)}function O(){e.audio.abortDownload()}return(l,f)=>{var g,k;return(0,a.uX)(),(0,a.CE)("div",x,[(0,a.Lk)("div",C,[(0,a.Lk)("button",{type:"button",class:"flex-center s-42px rounded-full bg-primary-500 relative",onClick:(0,s.D$)(H,["prevent"])},[e.audio.hasCover?((0,a.uX)(),(0,a.Wv)(p.A,{key:0,src:e.audio.coverSrc,alt:null==(g=e.audio.metaData)?void 0:g.title,sid:null==(k=e.audio.metaData)?void 0:k.coverSID,class:"s-42px rounded-full absolute","
1image-url-config":{width:42,ratio:"1:1",centerCrop:!0},crossorigin:""},null,8,["src","alt","sid"])):(0,a.Q3)("",!0),(0,a.Lk)("div",{class:(0,n.C4)(["s-full rounded-inherit flex-center absolute",{"bg-blackLight/40":e.audio.hasCover}])},[(0,o.R1)(F)?((0,a.uX)(),(0,a.Wv)(d.A,{key:0,class:"s-4 text-whiteLight"})):((0,a.uX)(),(0,a.Wv)(c.A,{key:1,src:(0,o.R1)(T),class:"s-4 text-whiteLight"},null,8,["src"]))],2)]),(0,o.R1)(S)&&e.canDownload&&l.$can("testingNewFeatures")?((0,a.uX)(),(0,a.CE)("div",w,[(0,o.R1)(Q)&&100>(0,o.R1)(Q)?((0,a.uX)(),(0,a.Wv)(m.A,{key:0,class:"cursor-pointer text-whiteLight s-7 shrink-0","fix-radius":"",count:(0,o.R1)(Q),"max-count":100,radius:6,stroke:1,"container-class":"text-grayLight-100 dark:text-grayLight-100",onSvgClick:O},{label:(0,a.k6)(()=>[(0,a.Lk)("button",{type:"button",class:"bg-primary-500 s-4 rounded-full p-1 flex-center",onClick:(0,s.D$)(O,["stop","prevent"])},[(0,a.bF)(c.A,{src:r,class:"s-2 text-whiteLight"})])]),_:1},8,["count"])):100===(0,o.R1)(Q)&&(0,o.R1)(Q)?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("button",{key:1,type:"button",class:"border-1 border-whiteLight shrink-0 s-4 roun
1ded-full bg-primary-500 flex-center",onClick:(0,s.D$)(U,["prevent"])},[(0,a.bF)(c.A,{src:i,class:"s-10px text-whiteLight"})]))])):(0,a.Q3)("",!0)]),(0,a.Lk)("div",R,[(0,o.R1)(M)?((0,a.uX)(),(0,a.CE)("div",A,[(0,a.bF)(y.A,{ref_key:"marquee",ref:z,"animate-on-overflow-only":"",class:"hide-scrollbar",gradient:(0,o.R1)(D),"gradient-length":"0%",direction:(0,o.R1)($),duration:20},{default:(0,a.k6)(()=>[(0,a.Lk)("div",{class:"block @text-title2-s text-black prosed",dir:(0,o.R1)(P)||void 0,innerHTML:(0,o.R1)(V)},null,8,_)]),_:1},8,["gradient","direction"])])):((0,a.uX)(),(0,a.CE)("span",{key:1,class:(0,n.C4)(["block @text-title2-s text-black prosed truncate grow","ltr"===(0,o.R1)(P)?"text-left":"text-right"]),dir:(0,o.R1)(P)||void 0},(0,n.v_)(e.audio.title),11,L)),(0,a.Lk)("div",E,[(0,a.bo)((0,a.bF)(u.A,{"show-time-balloon":"",class:"grow",audio:e.audio},null,8,["audio"]),[[s.aG,(0,o.R1)(B)]]),(0,o.R1)(B)?((0,a.uX)(),(0,a.CE)("span",W,(0,n.v_)(e.audio.formattedDuration),1)):((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,n.C4)(["block grow min-w-0 truncate prosed min-w-0","ltr"===(0,o.R1)(K)?"text-left":"text-right"]),dir:(0,o.R1)(K)||void 0,innerHTML:(0,o.R1)(I)},null,10,X)),(0,o.R1)(B)?((0,a.uX)(),(0,a.Wv)(v.A,{key:2,modelValue:(0,o.R1)(t),"onUpdate:modelValue":f[0]||(f[0]=e=>(0,o.i9)(t)?t.value=e:null),class:"shrink-0 ml-2 w-30px"},{default:(0,a.k6)(()=>[(0,a.Lk)("div",{class:(0,n.C4)(["min-w-6 h-4 border-1.25 rounded-1 p-2px flex-center @text-overline-m font-locale leading-0",(0,o.R1)(M)?"text-primaryLight-500 border-primaryLight-500 dark:border-primaryLight-500/65 dark:text-primaryLight-200":"text-grayLight-600 border-grayLight-200 dark:text-grayLight-300"])},(0,n.v_)(`${(0,o.R1)(t)}x`),3)]),_:1},8,["modelValue"])):(0,a.Q3)("",!0)])])])}}});l.d(t,["A",0,M])},40754(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(73754),i=l(72523),u=l(73352),c=l(13114);let d={key:0,class:"absolute -top-6 left-1/2 -translate-x-1/2 @z-tooltip"},p={class:"relative leading-0 @text-overline px-1 rounded-5 bg-primaryLight-500 dark:bg-primaryLight-200 min-w-30px h-14px text-whiteLight flex-center"},v=(0,a.pM)({__name:"AudioProgressBar",props:{audio:{},progressColorClass:{default:"bg-primaryLight-500 dark:bg-primaryLight-200"},progressBackgroundColorClass:{default:"bg-grayLight-200 dark:bg-grayLight-700"},showTimeBalloon:{type:Boolean}},emits:["play-prev","play-next","durationchange","ended","play","pause","playing","error"],setup(e,{emit:t}){let l=window.document,v=(0,u.KR)(!1),m=(0,u.KR)(e.audio.currentTime),f=(0,u.KR)(!0),y=(0,u.KR)(),g=(0,u.KR)(),k=(0,u.KR)(),h=(0,u.KR)("play");function b(e){e.preventDefault(),e.stopPropagation()}function x(){f.value=!1,v.value=!0,h.value=e.audio.isPlaying?"play":"pause",e.audio.isPlaying&&e.audio.pauseAudio(),window.addEventListener("click",b,!0)}function C(){v.value&&(v.value=!1,"play"===h.value?e.audio.playAudio({currentTime:m.value}):e.audio.setCurrentTime(m.value),requestAnimationFrame(()=>{window.removeEventListener("click",b,!0)}))}function w(t){if(!v.value||!y.value||!g.value||!k.value)return;let l=t.pageX||t.touches[0].pageX,a=y.value.getBoundingClientRect(),s=Number.parseInt(getComputedStyle(y.value).left)+(l-a.left);A(s=Math.max(s=Math.min(s,g.value.offsetWidth),0)),k.value.style.width=s+"px",m.value=s/g.value.offsetWidth*e.audio.duration,e.audio.setCurrentTime(m.value)}function R(t){if(t.preventDefault(),!g.value||!k.value||!y.value)return;if(!f.value){f.value=!0;return}let l=t.target,a=t.pageX||t.touches[0].pageX,s=l.getBoundingClientRect(),o=Number.parseInt(getComputedStyle(l).left)+(a-s.left);l!==y.value&&(m.value=o/g.value.offsetWidth*e.audio.duration,e.audio.playAudio({currentTime:m.value}),A(o),k.value.style.width=o+"px",f.value=!0)}function A(e){y.value&&(y.value.style.left=e-y.value.offsetWidth/2+"px")}function _(){if(v.value||!e.audio.audio||!g.value||!k.value)return;let t=e.audio.audio.currentTime/e.audio.audio.duration*g.value.offsetWidth;m.value=e.audio.audio.currentTime,k.value.style.width=t+"px",A(t)}return(0,a.wB)(()=>e.audio,_),(0,a.hi)(()=>{var t;null==(t=e.audio.audio)||t.removeEventListener("timeupdate",_)}),(0,r.y)(()=>{(0,a.dY)(()=>{var t,a,s,o,n,r,i,u,c;null==(t=y.value)||null==(a=t.addEventListener)||a.call(t,"mousedown",x),null==(s=y.value)||null==(o=s.addEventListener)||o.call(s,"touchstart",x),null==l||null==(n=l.addEventListener)||n.call(l,"mousemove",w),null==l||null==(r=l.addEventListener)||r.call(l,"mouseup",C),null==l||null==(i=l.addEventListener)||i.call(l,"touchmove",w),null==l||null==(u=l.addEventListener)||u.call(l,"touchend",C),null==(c=e.audio.audio)||c.addEventListener("timeupdate",_)}),(0,o.jr)(()=>{var e,t;null==(e=y.value)||e.removeEventListener("mousedown",x),null==(t=y.value)||t.removeEventListener("touchstart",x),null==l||l.removeEventListener("mousemove",w),null==l||l.removeEventListener("mouseup",C),null==l||l.removeEventListener("touchmove",w),null==l||l.removeEventListener("touchend",C)})}),(0,c.MLh)(e.audio.audio,"durationchange",function(l){e.audio.audio&&(e.audio.setDuration(e.audio.audio.duration),t("durationchange",l))}),(0,c.MLh)(e.audio.audio,"ended",function(l){setTimeout(()=>{e.audio.close(),t("ended",l)},500)}),(t,l)=>(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("div",{ref_key:"audioProgressWrap",ref:g,class:(0,n.C4)(["custom_audio_player_progress_wrap select-none touch-none relative h-2.25px rounded-3px curs
1or-pointer",e.progressBackgroundColorClass]),onClick:(0,s.D$)(R,["stop"])},[(0,a.Lk)("div",{ref_key:"audioProgress",ref:k,class:(0,n.C4)(["absolute inset-y-0 left-0 rounded-3px",e.progressColorClass])},null,2),(0,a.Lk)("div",{ref_key:"audioProgressPoint",ref:y,class:"-mt-6px top-1/2 absolute -left-2"},[e.showTimeBalloon&&(0,o.R1)(v)?((0,a.uX)(),(0,a.CE)("div",d,[(0,a.Lk)("div",p,[(0,a.Lk)("span",null,(0,n.v_)(e.audio.formattedCurrentTime),1),l[0]||(l[0]=(0,a.Lk)("span",{class:"absolute border-x-5 border-x-transparent border-t-5 top-full inset-x-0 mx-auto w-10px border-t-primaryLight-500 dark:border-t-primaryLight-200 -mt-1px"},null,-1))])])):(0,a.Q3)("",!0),(0,a.Lk)("div",{class:(0,n.C4)([e.progressColorClass,"s-10px rounded-full cursor-pointer after:-mt-3px after:-ml-3px after:content-empty after:top-1/2 after:left-1/2 after:s-6px after:absolute after:rounded-full"])},null,2)],512)],2)])),[[(0,o.R1)(i.A),void 0,void 0,{x:!0}]])}});l.d(t,["A",0,v])},96402(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(79201);let r=["src","alt"],i=(0,a.pM)({__name:"BaseBadge",props:{user:{}},setup(e){let t=(0,a.EW)(()=>e.user.badge.getIcon()),l=(0,a.EW)(()=>(0,n.Ay)(e.user.badge.getTitleTranslationKey()));return(n,i)=>e.user.badge?((0,a.uX)(),(0,a.CE)("img",{key:0,src:(0,s.R1)(t),class:(0,o.C4)(e.user.badge.isPending?"filter-blur-1px":null),alt:(0,s.R1)(l),loading:"lazy",width:"96",height:"96"},null,10,r)):(0,a.Q3)("",!0)}});l.d(t,["A",0,i])},28067(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(5634),r=l(46807),i=l(68656),u=l(57373),c=l(73352);let d={class:"flex-center bg-gray-100 rounded-4 p-2px relative"},p=["onClick"],v=(0,a.pM)({__name:"BaseButtonGroup",props:(0,a.zz)({choices:{},itemClass:{},noTruncate:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,u.N)(),l=(0,c.KR)(0);(0,a.n)(()=>{l.value++});let v=(0,a.fn)(e,"modelValue"),m=(0,c.KR)(null),f=(0,a.EW)(()=>e.choices.findIndex(e=>e.value===v.value.value)),y=(0,a.EW)(()=>{var e;return l.value,(null==(e=m.value)?void 0:e[f.value].offsetWidth)||0});function g(e){return e.value===v.value.value}let k=(0,a.EW)(()=>{if(l.value,!m.value)return{};let e=0;for(let t=0;t<f.value;t++)e+=m.value[t].offsetWidth;return(0,n.O9)(`translateX(${(0,n.FW)(e)}px)`)});return(l,n)=>((0,a.uX)(),(0,a.CE)("div",d,[(0,a.bF)(i.A,null,{default:(0,a.k6)(()=>[(0,a.Lk)("div",{class:"rounded-4 absolute transform-origin-start start-1px transition-transform duration-200 shadow-toast bg-primary-500 h-90% inset-y-auto flex-center text-whiteLight",style:(0,o.Tr)({...(0,s.R1)(k),width:`${(0,s.R1)(y)}px`})},[v.value.icon?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,src:v.value.icon,class:"s-4 shrink-0"},null,8,["src"])):(0,a.Q3)("",!0),v.value.text?((0,a.uX)(),(0,a.CE)("span",{key:1,class:(0,o.C4)(["ms-2 @text-title1-b min-w-0",{truncate:!e.noTruncate}])},(0,o.v_)(v.value.text),3)):(0,a.Q3)("",!0)],4)]),_:1}),((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.choices,l=>((0,a.uX)(),(0,a.CE)("button",{ref_for:!0,ref_key:"choicesRef",ref:m,key:l.value.toString(),type:"button",class:(0,o.C4)(["n-un8iw4",[g(l)?"text-whiteLight":"text-gray-400",e.itemClass,g(l)&&(0,s.R1)(t)?"bg-primary-500":"bg-gray-100"]]),onClick:e=>{l.disabled&&l.disabledAction?l.disabledAction():l.disabled||(v.value=l)}},[l.icon?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,src:l.icon,class:"s-4 shrink-0"},null,8,["src"])):(0,a.Q3)("",!0),l.text?((0,a.uX)(),(0,a.CE)("span",{key:1,class:(0,o.C4)(["ms-2 @text-title1-b min-w-0",[{truncate:!e.noTruncate},l.disabled?"text-gray-600/50":"text-gray-600"]])},(0,o.v_)(l.text),3)):(0,a.Q3)("",!0)],10,p))),128))]))}});l.d(t,["A",0,v])},23830(e,t,l){var a=l(2435);let s=(0,a.pM)({__name:"BaseDot",setup:e=>(e,t)=>((0,a.uX)(),(0,a.CE)("span",null,"\xa0 • \xa0"))});l.d(t,["A",0,s])},5777(e,t,l){l(3362);var a=l(15058),s=l(2435),o=l(69627);let n=(0,s.pM)({props:{vertical:{type:Boolean,default:!1},direction:{type:String,default:"normal"},duration:{type:Number,default:20},delay:{type:Number,default:0},loop:{type:Number,default:0},clone:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1},gradientColor:{type:Array,default:[255,255,255]},gradientWidth:{type:String},gradientLength:{type:String},pauseOnHover:{type:Boolean,default:!1},pauseOnClick:{type:Boolean,default:!1},pause:{type:Boolean,default:!1}
1,animateOnOverflowOnly:{type:Boolean,default:!1}},emits:["onComplete","onLoopComplete","onPause","onResume","onOverflowDetected","onOverflowCleared"],setup(e,{emit:t}){let l=(0,o.KR)(0),n=(0,o.KR)("100%"),r=(0,o.KR)("100%"),i=(0,o.KR)(0),u=(0,o.KR)(!1),c=(0,o.KR)(!0),d=(0,o.KR)(0),p=(0,o.KR)(0),v=(0,o.KR)(!1),m=(0,o.KR)(0),f=(0,o.KR)(0),y=(0,o.KR)(!1),g=(0,o.KR)(!1),k=(0,o.KR)(0),h=(0,o.KR)(null),b=(0,o.KR)("200px"),x=(0,a.OA)(),C=(0,o.lW)(()=>x.value?"truncate":void 0),w=(0,o.KR)(!1),R=(0,o.KR)(null),A=(0,o.KR)(null),_=null,L=async()=>{e.vertical&&(u.value=!0),await (0,s.dY)(),null!=_&&cancelAnimationFrame(_),_=requestAnimationFrame(()=>{(()=>{if(!R.value||!A.value)return n.value="100%",r.value="100%";if(n.value="0%",r.value="0%",e.vertical){if("clientHeight"in R.value&&"clientHeight"in A.value){f.value=R.value.clientHeight,m.value=A.value.clientHeight;let t=Math.ceil(m.value/f.value);return l.value=e.animateOnOverflowOnly?0:Number.isFinite(t)?t:0,u.value=!1,l.value}}else if("clientWidth"in R.value&&"clientWidth"in A.value){if(p.value=R.value.clientWidth,d.value=A.value.clientWidth,e.animateOnOverflowOnly&&w.value)return p.value<=d.value?(c.value=!0,t("onOverflowCleared")):(c.value=!1,t("onOverflowDetected")),l.value=0;let a=Math.ceil(d.value/p.value);return l.value=Number.isFinite(a)?a:0,l.value}return n.value="100%",r.value="100%"})()})},E=async()=>{await L(),i.value++};(0,s.wB)(p,async()=>{e.clone&&E()}),(0,s.wB)(d,async()=>{(e.clone||e.animateOnOverflowOnly)&&E()}),(0,s.wB)(()=>e.pause,(e,l)=>{e!==l&&(e?t("onResume"):t("onPause"))});let W=(0,s.EW)(()=>e.pause||e.vertical&&u.value||e.animateOnOverflowOnly&&c.value?"paused":"running"),X=(0,s.EW)(()=>e.pauseOnHover&&(y.value||g.value)||!e.pauseOnHover&&"paused"===W.value?"paused":"running"),M=(0,s.EW)(()=>e.pauseOnHover&&y.value||e.pauseOnClick&&g.value||!e.pauseOnHover&&"paused"===W.value?"paused":"running"),F=(0,s.EW)(()=>{let t={"--duration":`${e.duration}s`,"--delay":`${e.delay}s`,"--direction":`${e.direction}`,"--pauseOnHover":`${X.value}`,"--pauseOnClick":`${M.value}`,"--pauseAnimation":`${W.value}`,"--loops":`${0===e.loop?"infinite":e.loop}`,"--gradient-color":`rgba(${e.gradientColor[0]}, ${e.gradientColor[1]}, ${e.gradientColor[2]}, 1), rgba(${e.gradientColor[0]}, ${e.gradientColor[1]}, ${e.gradientColor[2]}, 0)`,"--gradient-length":`${b.value}`,"--min-width":`${n.value}`,"--min-height":`${r.value}`},l={"--orientation":"normal"===e.direction?"scrollX":"scrollXReverse",orientation:"horizontal"};return e.vertical&&(l["--orientation"]="scrollY"),{...t,...l}}),B=(0,s.EW)(()=>!!e.gradient),T=async()=>{e.vertical?(r.value="100%",n.value="auto",e.animateOnOverflowOnly&&console.warn("The `animateOnOverflowOnly` prop is not supported for vertical marquees.")):(r.value="auto",e.animateOnOverflowOnly?n.value="auto":n.value="100%"),e.gradient&&(e.gradientWidth?(console.warn("The `gradientWidth` prop has been deprecated and will be removed in a future release. Please use `gradientLength` instead."),b.value=e.gradientWidth):e.gradientLength&&(b.value=e.gradientLength)),(e.clone||e.animateOnOverflowOnly)&&(await L(),E()),w.value=!0};return(0,s.sV)(async()=>{v.value=!0,T(),h.value=setInterval(()=>{k.value++,0!==e.loop&&k.value===e.loop&&(t("onComplete"),clearInterval(h.value)),t("onLoopComplete")},1e3*e.duration)}),(0,s.xo)(()=>{clearInterval(h.value),null!=_&&cancelAnimationFrame(_)}),{isHydrating:x,truncateClass:C,ready:w,contentWidth:p,containerWidth:d,contentHeight:f,containerHeight:m,loopCounter:k,loopInterval:h,mouseOverMarquee:y,mouseDownMarquee:g,minWidth:n,minHeight:r,animateOnOverflowPause:c,marqueeContent:R,marqueeOverlayContainer:A,componentKey:i,showGradient:B,cloneAmount:l,ForcesUpdate:E,checkForClone:L,setupMarquee:T,getCurrentStyle:F,hoverStarted:()=>{e.pauseOnHover&&(t("onPause"),y.value=!0)},hoverEnded:()=>{e.pauseOnHover&&(t("onResume"),y.value=!1)},mouseDown:()=>{e.pauseOnClick&&(t("onPause"),g.value=!0)},mouseUp:()=>{e.pauseOnClick&&(t("onResume"),g.value=!1)},isClient:v}}});l.d(t,["A",0,n])},40465(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(45532),i=l(46807),u=l(29015),c=l(54062),d=l(73352);let p=["disabled"],v=(0,a.pM)({__name:"BaseMenuItem",props:{icon:{},action:{type:Function},disabled:{type:Boolean},colorClass:{}},setup(e){let t=(0,d.KR)(!1),{debouncedLoading:l}=(0,u.A)(t);function v(l){t.value||(0,c.L)(e.action,l,t)}return(t,u)=>((0,a.uX)(),(0,a.CE)("button",{type:"button",class:"n-cux68q",disabled:e.disabled,onClick:(0,s.D$)(v,["prevent"])},[(0,a.Lk)("div",{class:(0,n.C4)(["n-lj3q49",e.colorClass])},[(0,o.R1)(l)?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,class:"s-5"})):e.icon?((0,a.uX)(),(0,a.Wv)(i.A,{key:1,src:e.icon,class:"s-5"},null,8,["src"])):(0,a.Q3)("",!0)],2),(0,a.Lk)("span",{class:(0,n.C4)(["n-xaa354",e.colorClass])},[(0,a.RG)(t.$slots,"default")],2)],8,p))}});l.d(t,["A",0,v])},94055(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(24510),i=l(71884),u=l(85634),c=l(51984),d=l(57373),p=l(15058),v=l(73352);let m=["loading","alt"],f=["src","alt","loading"],y={key:0,class:"absolute start-3 bottom-3 bg-white/77 rounded-1 px-1 @text-subtitle-s leading-4 h-4 dir-ltr"},g=["src","poster","alt","controls"],k=(0,a.pM)({__name:"BasePicture",props:{imageClass:{},picture:{},ignoreAspectRatio:{type:Boolean},forceAutoLoad:{type:Boolean},video:{},link:{},imageUrlConfig:{},ignoreThumbhash:{type:Boolean},loading:{}},emits:["loaded"],setup(e,{expose:t,emit:k}){let h=(0,p.OA)(),b=(0,v.KR)(),x=(0,a.EW)(()=>e.ignoreAspectRatio?null:e.picture.getAspectRatio()),C=(0,a.EW)(()=>e.picture.getPublicLink(e.imageUrlConfig)),w=(0,a.EW)(()=>e.forceAutoLoad||e.picture.canAutoLoad),R=(0,a.EW)(()=>!w.value&&"loaded"!==e.picture.state);"loaded"!==e.picture.state&&e.picture.load(e.forceAutoLoad,h.value);let A=(0,a.EW)(()=>e.picture.getSizeString()),_=(0,d.N)();function L(){e.picture.setState("loaded"),k("loaded")}return t({imageElement:b}),(t,d)=>((0,a.uX)(),(0,a.Wv)(u.A,{tag:e.link?"a":"div",href:e.link,class:"relative flex flex-col max-w-full","as
1pect-ratio":(0,o.R1)(x)},{default:(0,a.k6)(()=>{var u;return[(0,o.R1)(h)||(0,o.R1)(_)?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(s.eB,{key:0,name:"fade",mode:"in-out"},{default:(0,a.k6)(()=>{var t;return["error"===e.picture.state?((0,a.uX)(),(0,a.CE)("img",{key:0,loading:null!=(t=e.loading)?t:"lazy",src:r,alt:e.picture.alt||e.picture.caption,class:"rounded-inherit s-full absolute inset-0 min-w-0 min-h-0 object-contain object-center bg-primary-100"},null,8,m)):"loading"!==e.picture.state&&"idle"!==e.picture.state||e.ignoreThumbhash?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(i.A,{key:1,class:(0,n.C4)(e.imageClass),media:e.picture},null,8,["class","media"]))]}),_:1})),(0,o.R1)(C)&&"error"!==e.picture.state&&"idle"!==e.picture.state?((0,a.uX)(),(0,a.CE)("img",(0,a.v6)({key:1,ref_key:"imageElement",ref:b,src:(0,o.R1)(C),alt:e.picture.alt||e.picture.caption,class:["rounded-inherit grow min-w-0 min-h-0 s-full inset-0 absolute",[e.imageClass,{invisible:!((0,o.R1)(h)||(0,o.R1)(_))&&"loading"===e.picture.state}]]},"eager"===e.loading?{fetchpriority:"high"}:{},{loading:null!=(u=e.loading)?u:"lazy",crossorigin:"anonymous",onError:d[0]||(d[0]=t=>e.picture.setState("error")),onLoad:L}),null,16,f)):(0,a.Q3)("",!0),(0,o.R1)(R)?((0,a.uX)(),(0,a.CE)(a.FK,{key:2},[(0,a.bF)(c.A,{class:"bg-white/77 rounded-full absolute bottom-1/2 right-1/2 translate-1/2 truncate max-w-85%",size:"mini",loading:"loading"===e.picture.state,"style-type":"unstyled",onClick:d[1]||(d[1]=t=>e.picture.load(!0))},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(t.__("download-picture")),1)]),_:1},8,["loading"]),(0,o.R1)(A)?((0,a.uX)(),(0,a.CE)("div",y,(0,n.v_)((0,o.R1)(A)),1)):(0,a.Q3)("",!0)],64)):(0,a.Q3)("",!0),e.video?((0,a.uX)(),(0,a.CE)("video",{key:3,ref_key:"imageElement",ref:b,src:e.video.getLink()||"",poster:e.video.cover.getPublicLink(e.imageUrlConfig)||l(78773),alt:e.picture.alt||e.picture.caption,class:(0,n.C4)(["rounded-inherit grow min-w-0 min-h-0 s-full inset-0 absolute",e.imageClass]),crossorigin:"anonymous",preload:"none",controls:(0,o.R1)(_),onError:d[2]||(d[2]=t=>e.picture.setState("error"))},null,42,g)):(0,a.Q3)("",!0)]}),_:1},8,["tag","href","aspect-ratio"]))}});l.d(t,["A",0,k])},70382(e,t,l){l(23792),l(62953),l(3296),l(27208),l(48408),l(14603),l(47566),l(98721);var a=l(2435),s=l(69627),o=l(14643),n=l(72111),r=l(210),i=l(46807),u=l(2687),c=l(98340);let d={class:"@text-subtitle-m min-w-0 truncate prosed"},p=(0,a.pM)({__name:"BasePostImage",props:{picture:{},post:{},imageClass:{},forceAutoLoad:{type:Boolean},noPreview:{type:Boolean},showLink:{type:Boolean},imageUrlConfig:{},loading:{}},setup(e){let t=(0,a.EW)(()=>e.picture.hasUrl),l=(0,a.EW)(()=>e.picture.url?(0,u.C)(e.picture.url):""),p=(0,a.EW)(()=>{if(t.value)return new URL(l.value).hostname});function v(t){e.noPreview||(t.preventDefault(),e.picture.loadOrPreview(e.post))}return(t,u)=>((0,a.uX)(),(0,a.CE)(a.FK,null,[(0,a.bF)(r.A,(0,a.v6)({picture:e.picture,"image-class":e.imageClass,"force-auto-load":e.forceAutoLoad},t.$attrs,{class:"cursor-pointer",link:e.noPreview?void 0:e.post.fullLink,"image-url-config":e.imageUrlConfig,loading:e.loading,onClick:v}),null,16,["picture","image-class","force-auto-load","link","image-url-config","loading"]),e.showLink&&(0,s.R1)(p)?((0,a.uX)(),(0,a.Wv)(c.A,{key:0,class:"absolute top-10px end-10px bg-grayLight-900/70 text-onGrayLight-900 [backdrop-filter:blur(12px)] py-5px px-6px flex-center rounded-full [.screenshot_&]:hidden me-6px max-w-150px dir-ltr",rel:"ugc noopener",target:"_blank",href:(0,s.R1)(l)},{default:(0,a.k6)(()=>[(0,a.bF)(i.A,{src:n,class:"s-4 mr-1"}),(0,a.Lk)("span",d,(0,o.v_)((0,s.R1)(p)),1)]),_:1},8,["href"])):(0,a.Q3)("",!0)],64))}});l.d(t,["A",0,p])},81676(e,t,l){l(23792),l(62953),l(3296),l(27208),l(48408),l(14603),l(47566),l(98721);var a=l(2435),s=l(69627),o=l(14643),n=l(72111),r=l(75941),i=l(46807),u=l(2687),c=l(98340);let d={class:"@text-subtitle-m min-w-0 truncate prosed"},p=(0,a.pM)({__name:"BasePostVideo",props:{video:{},videoClass:{},post:{},hideMetadata:{type:Boolean},playIconClass:{},showLink:{type:Boolean},noPreview:{type:Boolean},imageConfig:{}},setup(e){let t=(0,a.EW)(()=>e.video.hasUrl),l=(0,a.EW)(()=>e.video.url?(0,u.C)(e.video.url):""),p=(0,a.EW)(()=>
1{if(t.value)return new URL(l.value).hostname});function v(t){e.showLink&&p.value&&t.preventDefault()}return(t,u)=>((0,a.uX)(),(0,a.CE)(a.FK,null,[(0,a.bF)(r.Ay,(0,a.v6)({video:e.video,post:e.post,"hide-metadata":e.hideMetadata,class:"cursor-pointer"},t.$attrs,{"no-preview":e.noPreview,"video-class":e.videoClass,"play-icon-class":e.playIconClass,"image-config":e.imageConfig,onClick:v}),null,16,["video","post","hide-metadata","no-preview","video-class","play-icon-class","image-config"]),e.showLink&&(0,s.R1)(p)?((0,a.uX)(),(0,a.Wv)(c.A,{key:0,class:"absolute top-1 end-1 bg-grayLight-900/70 text-onGrayLight-900 [backdrop-filter:blur(12px)] py-5px px-6px flex-center rounded-full [.screenshot_&]:hidden max-w-150px dir-ltr",href:(0,s.R1)(l),rel:"ugc noopener",target:"_blank"},{default:(0,a.k6)(()=>[(0,a.bF)(i.A,{src:n,class:"s-4 mr-1"}),(0,a.Lk)("span",d,(0,o.v_)((0,s.R1)(p)),1)]),_:1},8,["href"])):(0,a.Q3)("",!0)],64))}});l.d(t,["A",0,p])},17122(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(64962),r=l(51240);let i=["srcset"],u=["src","alt"],c=(0,a.pM)({__name:"BaseReaction",props:{reaction:{},animate:{type:Boolean}},setup(e){let t=(0,a.EW)(()=>n.f_[e.reaction]),l=(0,a.EW)(()=>n.Eh[e.reaction]),c=(0,a.EW)(()=>!!(e.animate&&l.value&&r.ZP.isReactionAnimationEnabled)),d=(0,a.EW)(()=>c.value?l.value:void 0);return(l,n)=>((0,a.uX)(),(0,a.CE)("picture",{class:(0,o.C4)(["n-2hg7fe",{"scale-110":(0,s.R1)(c)}])},[(0,s.R1)(d)?((0,a.uX)(),(0,a.CE)("source",{key:0,srcset:(0,s.R1)(d),type:"image/webp"},null,8,i)):(0,a.Q3)("",!0),(0,a.Lk)("img",{src:(0,s.R1)(t),loading:"lazy",alt:e.reaction},null,8,u)],2))}});l.d(t,["A",0,c])},21736(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(59313),r=l(13114),i=l(21820),u=l(79201);let c=["textContent"],d=(0,r.cBR)({interval:1e4}),p=(0,a.pM)({__name:"BaseRemainTime",props:{timestamp:{}},setup(e){let t=(0,i.AI)(()=>{let t=1e3*e.timestamp,l=t-n.$.now(),a=Math.floor(l/864e5),o=Math.floor(l%864e5/36e5),r=Math.floor(l%36e5/6e4),i="";return a>7?n.$.fromTimestamp(t).formatDate("yyyy/mm/dd - hh:mm"):(a>0&&(i+=`${a} ${a>1?(0,u.Ay)("days"):(0,u.Ay)("day")}`),(0,s.R1)(d),o>0&&(i+=` ${a>0?(0,u.Ay)("and"):""} ${o} ${o>1?(0,u.Ay)("hours"):(0,u.Ay)("hour")}`),r>0&&(i+=` ${o>0?(0,u.Ay)("and"):""} ${r} ${r>1?(0,u.Ay)("minutes"):(0,u.Ay)("minute")}`),""!==i?i+=` ${(0,u.Ay)("left")}`:i+=(0,u.Ay)("in-a-few-moments"),i.trim())});return(e,l)=>((0,a.uX)(),(0,a.CE)("span",{textContent:(0,o.v_)((0,s.R1)(t))},null,8,c))}});l.d(t,["A",0,p])},42769(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(62021),r=l(23935),i=l(73352);let u=["width","height","src"],c=(0,a.pM)({__name:"BaseThumbHash",props:{media:{}},setup(e){let t=(0,i.KR)(""),l=(0,a.EW)(()=>e.media.thumbHash),c=(0,a.EW)(()=>(p(e.media)?e.media.getNormalizedWidth():e.media.width)||600),d=(0,a.EW)(()=>(p(e.media)?e.media.getNormalizedHeight():e.media.height)||600);function p(e){return e instanceof r.V}return n.l.decode(l.value).then(e=>{t.value=e}).catch(t=>{console.log("thumbhashError",t),"thumbHash"===e.media.state&&(p(e.media)?e.media.setState("loading"):e.media.setState("video"))}),(e,l)=>((0,a.uX)(),(0,a.CE)("img",{width:(0,s.R1)(c),height:(0,s.R1)(d),src:(0,s.R1)(t),class:(0,o.C4)(["n-op8e4w",{invisible:!(0,s.R1)(t)}])},null,10,u))}});l.d(t,["A",0,c])},74027(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(59313),r=l(13114),i=l(21820),u=l(79201);let c=["textContent"],d=(0,r.cBR)({interval:1e4}),p=(0,a.pM)({__name:"BaseTimeAgo",props:{timestamp:{}},setup(e){let t=(0,i.AI)(()=>{let t=1e3*e.timestamp,l=Math.floor((n.$.now()-t)/1e3),a=Math.floor(l/86400);if(a>7)return n.$.fromTimestamp(t).formatDate("d MM yyyy");if(a>=1)return(0,u.Ay)("time.day",[a]);(0,s.R1)(d);let o=l/3600;if(o>1)return(0,u.Ay)("time.hour",[Math.floor(o)]);let r=l/60;return r>1?(0,u.Ay)("time.minutes",[Math.floor(r)]):(0,u.Ay)("time.just")});return(e,l)=>((0,a.uX)(),(0,a.CE)("span",{textContent:(0,o.v_)((0,s.R1)(t))},null,8,c))}});l.d(t,["A",0,p])},15689(e,t,l){var a=l(2435),s=l(69627),o=l(15213),n=l(3656),r=l(6799);let i={class:"inline-flex items-center flex-wrap"},u=(0,a.pM)({__name:"BaseUserName",props:{user:{},type:{},noLink:{type:Boolean}},setup(e){let t="username"===e.type?r.A:n.A;return(l,n)=>((0,a.uX)(),(0,a.CE)("div",i,[(0,a.bF)((0,s.R1)(t),{user:e.user,"no-link":e.noLink},null,8,["user","no-link"]),e.user.badge&&"fullname"===e.type?((0,a.uX)(),(0,a.Wv)(o.A,{key:0,user:e.user,class:"s-5 shrink-0 ms-1"},null,8,["user"])):(0,a.Q3)("",!0)]))}});l.d(t,["A",0,u])},81834(e,t,l){l(23792),l(3362),l(62953);var a=l(2435),s=l(69627),o=l(14643),n=l(93388),r=l(85634),i=l(46807),u=l(1652),c=l(40427),d=l(99790),p=l(45532),v=l(210),m=l(42947),f=l(71884),y=l(57373),g=l(50327),k=l(73352);let h={key:2,class:"absolute s-12 rounded-full top-1/2 left-1/2 -translate-50% bg-blackLight/30 text-whiteLight"},b={key:3,class:"absolute start-1 top-1 [backdrop-filter:blur(5px)] bg-[rgba(0,0,0,0.5)] text-whiteLight rounded-11px @text-subtitle-2 leading-14px px-2 min-h-33px flex justify-center flex-col"},x={key:0,class:"dir-ltr"},C=["src","poster"],[w,R]=(0,g.Z)((0,k.KR)(!1)),A=(0,a.pM)({__name:"BaseVideo",props:{video:{},videoClass:{},post:{},hideMetadata:{type:Boolean},playIconClass:{},noPreview:{type:Boolean},imageConfig:{}},setup(e){let t=(0,y.N)(),g=(0,a.EW)(()=>e.video.getDurationString()),w=(0,a.EW)(()=>e.video.getAspectRatio()),A=(0,k.KR)(),_=(0,k.KR)(!1),L=(0,a.EW)(()=>e.video.getLink()),E=(0,a.EW)(()=>e.video.getSizeString()),W=R();async function X(){e.noPreview||e.post&&(0,u.V5)({post:e.post,video:e.video,index:e.post.getVideos().findIndex(t=>t.SID===e.video.SID)})}return(0,c.P)(e=>{(0,d.CS)()===A.value&&(e.preventDefault(),e.stopPropagation(),(0,d.uT)())}),(u,c)=>((0,a.uX)(),(0,a.Wv)(r.A,{"aspect-ratio":(0,s.R1)(w)},{default:(0,a.k6)(()=>[(0,a.Lk)("div",(0,a.v6)({class:"relative s-full of-hidden"},(0,s.R1)(W)?{}
1:{"data-nosnippet":""},{class:e.videoClass}),["thumbHash"===e.video.state||(0,s.R1)(_)?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[e.video.coverSID&&(0,s.R1)(m.cX)()?((0,a.uX)(),(0,a.Wv)(v.A,{key:e.video.coverSID,picture:e.video.cover,video:e.video,class:"absolute s-full","image-class":"object-cover","image-url-config":e.imageConfig},null,8,["picture","video","image-url-config"])):((0,a.uX)(),(0,a.Wv)(f.A,{key:1,class:"absolute",media:e.video},null,8,["media"]))],64)):(0,a.Q3)("",!0),"thumbHash"!==e.video.state||(0,s.R1)(t)?(0,s.R1)(_)?((0,a.uX)(),(0,a.CE)("div",h,[(0,a.bF)(p.A,{class:"s-full p-1"})])):(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("button",{key:1,type:"button",class:"absolute s-full inset-0 flex-center",onClick:c[0]||(c[0]=t=>"thumbHash"===e.video.state&&X())},[(0,a.Lk)("div",{class:(0,o.C4)(["n-jjmlsp",e.playIconClass])},[(0,a.bF)(i.A,{class:"text-whiteLight s-full",src:n})],2)])),e.hideMetadata||"thumbHash"!==e.video.state?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("div",b,[(0,a.Lk)("time",null,(0,o.v_)((0,s.R1)(g)),1),(0,s.R1)(E)?((0,a.uX)(),(0,a.CE)("div",x,(0,o.v_)((0,s.R1)(E)),1)):(0,a.Q3)("",!0)])),"video"===e.video.state?((0,a.uX)(),(0,a.CE)("video",{key:4,ref_key:"videoElement",ref:A,playsinline:"","webkit-playsinline":"",src:(0,s.R1)(L),class:(0,o.C4)(["n-7rqd4s",e.videoClass]),poster:e.video.cover.getPublicLink()||l(78773),controlslist:"nodownload",controls:"",crossorigin:"anonymous",onLoadstart:c[1]||(c[1]=e=>_.value=!0),onLoadeddata:c[2]||(c[2]=e=>_.value=!1)},null,42,C)):(0,a.Q3)("",!0)],16)]),_:1},8,["aspect-ratio"]))}});l.d(t,["Ay",0,A,"b3",0,w])},78473(e,t,l){let a;l(3362);var s=l(2435),o=l(27897),n=l(79201),r=l(5634),i=l(41046),u=l(73352),c=l(84971),d=l(29245);async function p(){if(a)return a;let{default:e}=await l.e(7225).then(()=>l(71557));return e.addLanguage("fa",await l.e(7225).then(()=>l.t(52317,19))),e.addLanguage("ar",await l.e(7225).then(()=>l.t(86107,19))),e.options.crossorigin="anonymous",a=e,e}let v=(0,s.pM)({__name:"BaseVideoJS",props:{video:{},options:{},isLiveStream:{type:Boolean},poster:{},liveStream:{},hideError:{type:Boolean}},emits:["play","pause","timeupdate","loadstart","loadeddata","retryplaylist","controlbarVisiblityChanged","ended","reload"],setup(e,{expose:t,emit:a}){let v=(0,n.TH)(),m=(0,u.KR)(),f=(0,u.KR)(),y=(0,o.l)("sm");async function g(){var t;if(!(null!=(t=e.video)&&t.SID))throw(0,c.mT)({message:(0,n.Ay)("fetch-media-failed"),track:!1});await i.M.downloadMedia(e.video)}return(0,s.sV)(async()=>{var t,s,o,i,u,k,h,b,x,C,w,R,A;let _=m.value;if(!_)return;_.poster=null!=(t=null!=(s=e.poster)?s:null==(o=e.video)?void 0:o.cover.getPublicLink())?t:l(78773);let L=await p();if(!_)return;let E=(null==(i=e.video)?void 0:i.getLink())||e.liveStream;f.value=L(_,{...e.options||{},loop:null!=(u=null==(k=e.options)?void 0:k.loop)&&u,sources:[{src:E,type:e.isLiveStream?"application/vnd.apple.mpegurl":"video/mp4"}],controls:null==(h=null==(b=e.options)?void 0:b.controls)||h,language:v.language,preload:e.isLiveStream?"auto":"none",controlBar:{volumePanel:{inline:!0},pictureInPictureToggle:!1,playbackRateMenuButton:!0,skipButtons:e.isLiveStream||!y.value?void 0:{forward:10,backward:10}},playbackRates:e.isLiveStream?void 0:[.75,1,1.25,1.5,1.75,2]}),f.value.addClass("flex-center"),f.value.on("play",()=>a("play")),f.value.on("pause",()=>a("pause")),f.value.on("ended",()=>{a("ended"),a("controlbarVisiblityChanged",!0)}),f.value.on("timeupdate",()=>{a("timeupdate"),a("controlbarVisiblityChanged",f.value.el().classList.contains("vjs-user-active"))}),f.value.on("loadstart",()=>a("loadstart")),f.value.on("loadeddata",()=>a("loadeddata")),e.isLiveStream?(f.value.on("ready",()=>{f.value.tech().on("retryplaylist",()=>{a("retryplaylist")})}),f.value.on("error",async()=>{var e;let t=null==(e=f.value)?void 0:e.error();t&&3===t.code&&(console.warn("trying to reload live stream"),await (0,r.uk)(1e3),a("reload"))})):e.hideError||f.value.on("error",e=>{throw(0,d.fH)({subtitle:(0,n.Ay)("try-to-download-media"),okText:(0,n.Ay)("download"),action:g,type:"secondary",title:(0,n.Ay)("download-media"),icon:l(82342)}),(0,c.mT)({message:(0,n.Ay)("fetch-media-failed"),meta:{error:e}})}),null!=(x=e.options)&&x.currentTime&&f.value.currentTime(e.options.currentTime),(null==(C=e.options)?void 0:C.muted)!=null&&f.value.muted(e.options.muted),null!=(w=e.options)&&w.autoplay&&(e.isLiveStream?setTimeout(()=>{var e;null==(e=f.value)||e.play()},5e3):null==(A=f.value)||A.play()),null!=(R=e.options)&&R.playbackRate&&f.value.playbackRate(e.options.playbackRate)}),(0,s.nT)(()=>{e.poster&&m.value&&(m.value.poster=e.poster)}),(0,s.xo)(()=>{let e=f.value;e&&(e.isInPictureInPicture()?e.on("leavepictureinpicture",()=>{e.dispose()}):e.dispose())}),t({player:f}),(e,t)=>((0,s.uX)(),(0,s.CE)("video-js",{ref_key:"video",ref:m,crossorigin:"anonymous"},null,512))}});l.d(t,["A",0,v])},67298(e,t,l){l(3362);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(36855),i=l(51984),u=l(67793),c=l(36596),d=l(79201),p=l(73352);let v={class:"bs-body-wrapper"},m={class:"bs-external-footer-row"},f=(0,a.pM)({__name:"BottomSheetChangePostScore",props:{post:{}},emits:["close"],setup(e,{emit:t}){let l=[{text:(0,d.Ay)("increase"),value:"increase"},{text:(0,d.Ay)("decrease"),value:"decrease"}],f={type:"text",title:(0,d.Ay)("change-post-score")},y=(0,p.KR)(l[0]),g=(0,p.KR)("0");
1async function k(){g.value&&(await e.post.updateRatingScore(+g.value,y.value.value),t("close"))}return(e,t)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("div",v,[(0,a.bF)(c.A,{"header-config":f}),(0,a.Lk)("form",{id:"post-score",class:"bs-form-wrapper",onSubmit:t[2]||(t[2]=(0,s.D$)(()=>{},["prevent"]))},[(0,a.bF)(u.A,{modelValue:(0,o.R1)(y),"onUpdate:modelValue":t[0]||(t[0]=e=>(0,o.i9)(y)?y.value=e:null),choices:l},null,8,["modelValue"]),(0,a.bF)(r.A,{modelValue:(0,o.R1)(g),"onUpdate:modelValue":t[1]||(t[1]=e=>(0,o.i9)(g)?g.value=e:null),size:"small",label:e.__("score")},null,8,["modelValue","label"])],32)]),(0,a.Lk)("div",m,[(0,a.bF)(i.A,{form:"post-score",type:"submit",class:"w-full",size:"large",disabled:!(0,o.R1)(g),action:k},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(e.__("submit")),1)]),_:1},8,["disabled"])])]))}});l.d(t,["A",0,f])},59210(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(36596),r=l(79201);let i={class:"bs-form-wrapper"},u={class:"@text-title1-r text-gray-600"},c={key:0},d={key:1},p=(0,a.pM)({__name:"BottomSheetReplyDescription",props:{post:{}},setup(e){let t=(0,a.EW)(()=>e.post.community),p={type:"icon",title:(0,r.Ay)("who-can-reply"),iconSrc:l(61944),iconClass:"flex-center s-12 p-3 bg-primary-500 rounded-full"};return(l,v)=>((0,a.uX)(),(0,a.CE)("div",{class:(0,o.C4)(["bs-body-wrapper",{"sm:rounded-b-6":!(0,s.R1)(!0)}])},[(0,a.bF)(n.A,{"header-config":p}),(0,a.Lk)("div",i,[(0,a.Lk)("p",u,[(0,s.R1)(t)?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},["owner"===(0,s.R1)(t).replyPolicy?((0,a.uX)(),(0,a.CE)("span",c,(0,o.v_)(l.__("community-reply-owner")),1)):"ownerAndModerators"===(0,s.R1)(t).replyPolicy?((0,a.uX)(),(0,a.CE)("span",d,(0,o.v_)(l.__("community-reply-owner-and-moderators")),1)):(0,a.Q3)("",!0)],64)):((0,a.uX)(),(0,a.CE)(a.FK,{key:1},["followings"===e.post.replyPolicy?((0,a.uX)(),(0,a.Wv)((0,s.R1)(r.Uz),{key:0,i18n:"reply-follow"},{0:(0,a.k6)(()=>[(0,a.Lk)("bdi",null,(0,o.v_)(e.post.user.fullUserName),1)]),_:1})):((0,a.uX)(),(0,a.Wv)((0,s.R1)(r.Uz),{key:1,i18n:"reply-mention"},{0:(0,a.k6)(()=>[(0,a.Lk)("bdi",null,(0,o.v_)(e.post.user.fullUserName),1)]),_:1}))],64))])])],2))}});l.d(t,["A",0,p])},24121(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(88640),r=l(36596),i=l(79201);let u={class:"bs-body-wrapper h-60vh flex flex-col overflow-auto"},c={class:"@text-h3-m my-2 px-4"},d={key:0},p=(0,a.pM)({__name:"BottomSheetReplyingTo",props:{mainUser:{},otherUsers:{}},setup(e){let t=(0,a.EW)(()=>({type:"text",title:(0,i.Ay)("conversation-participants")}));return(l,i)=>((0,a.uX)(),(0,a.CE)("div",u,[(0,a.bF)(r.A,{"header-config":(0,s.R1)(t)},null,8,["header-config"]),e.mainUser?((0,a.uX)(),(0,a.Wv)(n.A,{key:0,"no-bio":"",user:e.mainUser,class:"px-4 my-1"},null,8,["user"])):(0,a.Q3)("",!0),e.otherUsers.length?((0,a.uX)(),(0,a.CE)(a.FK,{key:1},[(0,a.Lk)("p",c,(0,o.v_)(l.__("others-in-this-conversation")),1),e.mainUser?((0,a.uX)(),(0,a.CE)("hr",d)):(0,a.Q3)("",!0),((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.otherUsers,e=>((0,a.uX)(),(0,a.Wv)(n.A,{key:e.userID,user:e,"no-bio":"",class:"px-4 my-1"},null,8,["user"]))),128))],64)):(0,a.Q3)("",!0)]))}});l.d(t,["A",0,p])},56193(e,t,l){l.d(t,{A:()=>B}),l(3362);var a=l(2435),s=l(69627),o=l(14643),n=l(89370),r=l(82636),i=l(99097),u=l(75494),c=l(51984),d=l(46807),p=l(81447),v=l(78239),m=l(2334),f=l(69250),y=l(66218),g=l(5634),k=l(36596),h=l(75732),b=l(58508),x=l(96253),C=l(73352);let w={class:"bs-body-wrapper px-0"},R={class:"flex px-4 py-4"},A={class:"flex flex-col items-center cursor-pointer me-3"},_={class:"mt-2 @text-body text-center"},L={class:"flex flex-col items-center cursor-pointer me-3"},E={class:"mt-2 @text-body text-center"},W={class:"flex flex-col items-center cursor-pointer"},X={class:"mt-2 @text-body"},M={class:"bs-body-wrapper rounded-t-15px sm:rounded-t-6 p-3"},F={key:0,class:"bs-body-wrapper rounded-t-15px sm:rounded-t-6 p-3 overflow-auto max-h-45vh min-h-110px"},B=(0,a.pM)({__name:"BottomSheetShare",props:{post:{},title:{}},setup(e){let t={type:"text",title:e.title},B=(0,C.KR)(null),T=(0,C.KR)(!1),Q=(0,C.KR)(!1);async function S(){let t=!e.post.isBookmarked;return await (0,v.z)(),e.post.bookmark(t)}function z(){T.value=!0}let D=(0,a.EW)(()=>e.post.repostedByMe),P=(0,a.EW)(()=>e.post.getDetailsLinkBasedOnTenant(!0));async function $(){await e.post.repost()}async function K(){await e.post.undoRepost()}function V(t){B.value=t;try{y.s.createConversationAndSendMessage(t.userID,e.post.fullLink),Q.value=!1}catch(e){(0,g.wH)(e)}finally{B.value=null}}function I(){return D.value?K():$()}return(v,y)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("div",w,[(0,a.bF)(k.A,{"header-config":t}),(0,a.bF)(h.A,{icon:l(84163),action:z},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(v.__("post-screenshot")),1)]),_:1},8,["icon"]),(0,a.Lk)("div",R,[(0,a.Lk)("label",A,[(0,a.bF)(c.A,{"style-type":"unstyled",class:"s-12 flex-center rounded-full [box-shadow:0_2px_1px_rgba(0,0,0,0.2)] dark:bg-grayLight-800/30",action:S},{default:(0,a.k6)(()=>[e.post.isBookmarked?((0,a.uX)(),(0,a.Wv)(d.A,{key:0,class:"s-5 text-gray-600",src:n})):((0,a.uX)(),(0,a.Wv)(d.A,{key:1,class:"s-5 text-gray-600",src:r}))]),_:1}),(0,a.Lk)("div",_,(0,o.v_)(v.__("bookmark")),1)]),(0,a.Lk)("label",L,[(0,a.bF)(c.A,{"style-type":"unstyled",class:"s-12 flex-center rounded-full [box-shadow:0_2px_1px_rgba(0,0,0,0.2)] dark:bg-grayLight-800/30",onClick:y[0]||(y[0]=e=>Q.value=!0)},{default:(0,a.k6)(()=>[(0,a.bF)(d.A,{class:"s-5 text-gray-600",src:i})]),_:1}),(0,a.Lk)("div",E,(0,o.v_)(v.__("send-link")),1)]),(0,a.Lk)("label",W,[(0,a.bF)(c.A,{"style-type":"unstyled",class:(0,o.C4)(["s-12 flex-center rounded-full [box-shadow:0_2px_1px_rgba(0,0,0,0.2)] dark:bg-grayLight-800/30",{disabled:!e.post.canRepost}]),action:I},{default:(0,a.k6)(()=>[(0,a.bF)(d.A,{class:(0,o.C4)(["s-5 text-gray-600",{"text-success-500":(0,s.R1)(D)}]),src:u},null,8,["class"])]),_:1},8,["class"]),(0,a.Lk)("div",X,(0,o.v_)((0,s.R1)(D)?v.__("undo-repost"):v.__("repost")),1)])])]),(0,a.Lk)("div",M,[(0,a.bF)(b.A,{"link-string":(0,s.R1)(P)},null,8,["link-string"])]),e.post.canGetShortLink?((0,a.uX)(),(0,a.CE)("div",F,[(0,a.bF)(x.A,{post:e.post},null,8,["post"])])):(0,a.Q3)("",!0),(0,a.bF)(p.A,{modelValue:(0,s.R1)(T),"onUpdate:modelValue":y[1]||(y[1]=e=>(0,s.i9)(T)?T.value=e:null),post:e.post},null,8,["modelValue","post"]),(0,a.bF)(m.A,{modelValue:(0,s.R1)(Q),"onUpdate:modelValue":y[2]||(y[2]=e=>(0,s.i9)(Q)?Q.value=e:null),"no-drag":""},{default:(0,a.k6)(()=>[(0,a.bF)(f.A,{title:v.__("select-user"),subtitle:v.__("send-link-to-direct-messages"),onSelect:V},null,8,["title","subtitle"])]),_:1},8,["modelValue"])]))}})},9857(e,t,l){var a=l(2435),s=l(69627),o=l(20771),n=l(79201),r=l(46807);let i=["href","aria-label"],u=(0,a.pM)({__name:"CallHeaderButton",setup(e){let t=(0,n.TH)();return(e,l)=>"fa"===(0,s.R1)(t).language&&(0,s.R1)("")?((0,a.uX)(),(0,a.CE)("a",{key:0,href:`tel:${(0,s.R1)("")}`,"aria-label":e.__("saman-support")},[(0,a.bF)(r.A,{src:o,class:"s-22px text-black"})],8,i)):(0,a.Q3)("",!0)}});l.d(t,["A",0,u])},46581(e,t,l){var a=l(2435),s=l(69627),o=l(14643);let n={low:{backgroundColor:"bg-error-500/10",textColor:"text-error-500"},medium:{backgroundColor:"bg-warning-500/10",textColor:"text-warning-500"},high:{backgroundColor:"bg-success-500/10",textColor:"text-success-500"}},r=(0,a.pM)({__name:"ImportanceFactorChips",props:{campaign:{}},setup(e){let t=(0,a.EW)(()=>{let t=+e.campaign.importanceFactor;return t<.25?"low":t<.75?"medium":"high"});return(l,r)=>((0,a.uX)(),(0,a.CE)("span",{class:(0,o.C4)(["@text-subtitle-s px-2 h-5 rounded-2 font-locale",[n[(0,s.R1)(t)].backgroundColor,n[(0,s.R1)(t)].textColor]])},(0,o.v_)(l.__("factor-n",[e.campaign.importanceFactor])),3))}});l.d(t,["A",0,r])},87933(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643);let r=["aria-valuemax","aria-valuenow"],i={dir:"ltr",class:"absolute left-1/2 top-1/2 -translate-1/2 text-12px"},u=["stroke-width","cx","cy","r"],c=["stroke-width","stroke-dasharray","stroke-dashoffset","cx","cy","r"],d=(0,a.pM)({__name:"CircularProgressBar",props:{maxCount:{},count:{},radius:{},label:{},stroke:{},fixRadius:{type:Boolean},containerClass:{}},emits:["svgClick"],setup(e,{emit:t}){let l=(0,a.EW)(()=>e.stroke||3),d=(0,a.EW)(()=>e.count<=e.maxCount+9),p=(0,a.EW)(()=>e.fixRadius||e.count<=e.maxCount-21?e.radius:e.radius+2),v=(0,a.EW)(()=>2*p.value+2*l.value),m=(0,a.EW)(()=>e.count/e.maxCount),f=(0,a.EW)(()=>1-Math.min(m.value,1)),y=(0,a.EW)(()=>2*Math.PI*p.value),g=(0,a.EW)(()=>f.value*y.value);return(m,f)=>((0,a.uX)(),(0,a.CE)("div",{class:"n-y292xp",style:(0,n.Tr)({width:`${(0,o.R1)(v)}px`,height:`${(0,o.R1)(v)}px`}),role:"progressbar","aria-valuemax":e.maxCount,"aria-valuemin":"
10","aria-valuenow":e.count},[(0,a.Lk)("p",i,[(0,a.RG)(m.$slots,"label",{},()=>[(0,a.eW)((0,n.v_)(e.label),1)])]),(0,a.RG)(m.$slots,"default"),(0,o.R1)(d)?((0,a.uX)(),(0,a.CE)("svg",{key:0,role:"presentation",class:"s-full absolute",onClick:f[0]||(f[0]=(0,s.D$)(e=>t("svgClick"),["prevent"]))},[(0,a.Lk)("circle",{fill:"none","stroke-width":(0,o.R1)(l),stroke:"currentColor",class:(0,n.C4)(["n-jwvu1c",e.containerClass]),cx:(0,o.R1)(p)+(0,o.R1)(l),cy:(0,o.R1)(p)+(0,o.R1)(l),r:(0,o.R1)(p)},null,10,u),(0,a.Lk)("circle",{style:{transition:"stroke-dashoffset 0.3s"},fill:"none","stroke-width":(0,o.R1)(l),"stroke-linecap":"round","stroke-dasharray":(0,o.R1)(y),"stroke-dashoffset":(0,o.R1)(g),stroke:"currentColor",cx:(0,o.R1)(p)+(0,o.R1)(l),cy:(0,o.R1)(p)+(0,o.R1)(l),r:(0,o.R1)(p)},null,8,c)])):(0,a.Q3)("",!0)],12,r))}});l.d(t,["A",0,d])},41592(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(17e3);let r=(0,a.pM)({__name:"CharacterCounter",props:{count:{},maxCount:{},threshold:{},alwaysShowCounter:{type:Boolean},fixRadius:{type:Boolean},radius:{default:9}},setup(e){let t=(0,a.EW)(()=>{let t=e.maxCount-e.threshold;return e.count<=t?"normal":e.count<=e.maxCount?"warn":"overflow"}),l=(0,a.EW)(()=>e.alwaysShowCounter?e.count.toString():e.count>=e.maxCount-e.threshold?`${e.maxCount-e.count}`:"");return(r,i)=>((0,a.uX)(),(0,a.Wv)(n.A,{count:e.count,"max-count":e.maxCount,radius:e.radius,label:(0,s.R1)(l),"fix-radius":e.fixRadius,class:(0,o.C4)({"text-warning-500":"warn"===(0,s.R1)(t),"text-primary-500":"normal"===(0,s.R1)(t),"text-error-500":"overflow"===(0,s.R1)(t)})},null,8,["count","max-count","radius","label","fix-radius","class"]))}});l.d(t,["A",0,r])},31506(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(64639),i=l(84975),u=l(43051),c=l(73352),d=l(13114);let p=(0,a.pM)({__name:"ContextMenu",props:(0,a.zz)({containerClasses:{},backdropClasses:{},noBackdrop:{type:Boolean},scrollLock:{type:Boolean},disableBackHandling:{type:Boolean},referenceElement:{},closeOnOutsideClick:{type:Boolean},teleportTo:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,a.zz)(["mouseenter","mouseleave"],["update:modelValue"]),setup(e,{expose:t}){let l=(0,a.fn)(e,"modelValue"),p=(0,c.KR)(null),v=(0,c.KR)(0),m=(0,c.KR)(0),{show:f,teleportTo:y}=(0,i.h)(l,{scrollLock:e.scrollLock,disableBackHandling:(0,o.lW)(e,"disableBackHandling"),teleportTo:e.teleportTo||"#teleports"});function g(){l.value=!1}function k(e,t){return e instanceof Node&&!!t&&t.contains(e)}function h(t){var l;k(l=t.target,p.value)||k(l,e.referenceElement)||g()}function b(){if(!p.value)return;let{clientWidth:e,clientHeight:t}=document.documentElement,{clientWidth:l,clientHeight:a}=p.value;p.value.style.top=m.value+"px",p.value.style.left=v.value+"px";let s=e-(v.value+l),o=t-(m.value+a);l>e-16?p.value.style.left=Math.max(0,e-l)/2+"px":s<8&&(p.value.style.left=v.value+s-8+"px"),o<8&&(p.value.style.top=m.value+o-8+"px")}(0,a.nT)(b);let x=(0,u.s)({delay:200},b),C=(0,a.EW)(()=>l.value&&f);return(0,r.t)(C,()=>{(0,d.MLh)("scroll",g)}),(0,r.t)(l,()=>{(0,d.MLh)("resize",x)}),(0,r.t)(C,()=>{e.closeOnOutsideClick&&((0,d.MLh)(document,"mousedown",h,!0),(0,d.MLh)(document,"touchstart",h,!0))}),t({setPosition:function(e){v.value=e.clientX,m.value=e.clientY}}),(t,r)=>((0,a.uX)(),(0,a.Wv)(a.Im,{to:(0,o.R1)(y)},[(0,a.Lk)("div",null,[(0,a.bF)(s.eB,{name:"fade"},{default:(0,a.k6)(()=>[!e.noBackdrop&&l.value&&(0,o.R1)(f)?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,n.C4)(["fixed z-dropdown inset-0 cursor-auto",e.backdropClasses]),onClick:(0,s.D$)(g,["prevent"])},null,2)):(0,a.Q3)("",!0)]),_:1}),(0,a.bF)(s.eB,{name:"fade",appear:""},{default:(0,a.k6)(()=>[l.value?(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",{key:0,ref_key:"element",ref:p,class:(0,n.C4)(["n-med93p",e.containerClasses]),onMouseenter:r[0]||(r[0]=e=>t.$emit("mouseenter")),onMouseleave:r[1]||(r[1]=e=>t.$emit("mouseleave"))},[(0,a.RG)(t.$slots,"default")],34)),[[s.aG,(0,o.R1)(f)]]):(0,a.Q3)("",!0)]),_:3})])],8,["to"]))}});l.d(t,["A",0,p])},58867(e,t,l){var a=l(2435),s=l(14643),o=l(46807);let n={class:"n-np9k6l"},r=["innerHTML"],i=["textContent"],u={key:3,class:"@text-body text-gray-600 w-full break-words"},c={key:4,class:"mt-4"},d=(0,a.pM)({__name:"Empty",props:{title:{},subtitle:{},icon:{},isTitleHtml:{type:Boolean},titleClass:{}},setup:e=>(t,l)=>((0,a.uX)(),(0,a.CE)("div",n,[e.icon?((0,a.uX)(),(0,a.Wv)(o.A,{key:0,src:e.icon,class:"n-n1ry8y"},null,8,["src"])):(0,a.Q3)("",!0),(0,a.RG)(t.$slots,"image"),e.isTitleHtml?((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,s.C4)(["n-et9jeg",e.titleClass]),innerHTML:e.title},null,10,r)):((0,a.uX)(),(0,a.CE)("p",{key:2,class:(0,s.C4)(["n-et9jeg",e.titleClass]),textContent:(0,s.v_)(e.title)},null,10,i)),e.subtitle?((0,a.uX)(),(0,a.CE)("p",u,(0,s.v_)(e.subt
1itle),1)):(0,a.Q3)("",!0),t.$slots.button?((0,a.uX)(),(0,a.CE)("div",c,[(0,a.RG)(t.$slots,"button")])):(0,a.Q3)("",!0)]))});l.d(t,["A",0,d])},43235(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(29015),r=l(46807),i=l(45532),u=l(54062),c=l(57659),d=l(73352),p=l(13114),v=l(43422);let m={class:"flex items-center relative"},f={key:0,class:"n-7x5mj0"},y=(0,a.pM)({__name:"FAB",props:{icon:{},type:{},loading:{type:Boolean},action:{type:Function},loadingClass:{},title:{},link:{},disabled:{type:Boolean}},emits:["click"],setup(e,{expose:t,emit:l}){let y=(0,d.KR)(!1),g=(0,a.EW)(()=>e.type||"primary"),k=(0,a.EW)(()=>e.loading||y.value),{debouncedLoading:h}=(0,n.A)(k);function b(t){l("click",t),e.disabled||k.value||(0,u.L)(e.action,t,y)}let x=(0,d.KR)(!0),C=window.scrollY;function w(){if(!e.title)return;let t=window.scrollY,l=t-C;l>5?x.value=!1:l<-5&&(x.value=!0),C=t}let R=(0,a.rk)("titleElement"),A=(0,d.KR)();e.title&&(0,a.sV)(()=>{R.value&&(A.value=R.value.clientWidth),(0,p.MLh)("scroll",w,{passive:!0})});let _=(0,a.EW)(()=>A.value?x.value?A.value+(0,v.f)(8)+"px":"0":"auto");return t({isLoading:(0,a.EW)(()=>e.loading||y.value)}),(t,l)=>((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.link?"router-link":"button"),{to:e.link,disabled:!e.link&&e.disabled,"aria-disabled":e.disabled,class:"z-fab",onClick:b},{default:(0,a.k6)(()=>[(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",{class:(0,o.C4)(["n-0e3yis",{"n-3ootpc":"primary"===(0,s.R1)(g)&&!e.disabled,"n-j27na4":"secondary"===(0,s.R1)(g)&&!e.disabled,"n-c47vrp":e.disabled}])},[(0,a.Lk)("div",m,[(0,s.R1)(h)?((0,a.uX)(),(0,a.CE)("div",f,[(0,a.bF)(i.A,{class:(0,o.C4)(e.loadingClass)},null,8,["class"])])):(0,a.Q3)("",!0),(0,a.bF)(r.A,{class:(0,o.C4)(["s-22px",{invisible:(0,s.R1)(h)}]),src:e.icon},null,8,["class","src"]),e.title?((0,a.uX)(),(0,a.CE)("div",{key:1,ref_key:"titleElement",ref:R,class:(0,o.C4)(["whitespace-nowrap overflow-hidden @text-title1-b transition-width duration-200 text-end",{"opacity-0":!(0,s.R1)(x)}]),style:(0,o.Tr)({width:(0,s.R1)(_)})},(0,o.v_)(e.title),7)):(0,a.Q3)("",!0)])],2)),[[(0,s.R1)(c.Ay),{colorPreset:"blue",dontApply:e.disabled||"secondary"===(0,s.R1)(g),fallbackClass:"bg-primary-500"}]])]),_:1},8,["to","disabled","aria-disabled"]))}});l.d(t,["A",0,y])},1730(e,t,l){l(44114);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(65872),i=l(63445),u=l(42479),c=l(46807),d=l(47572),p=l(21413),v=l(35011);let m={key:0,class:"n-gzz0fc"},f={key:0,class:"w-full grid grid-cols-2 gap-1"},y={class:"s-full flex-center"},g={class:"@text-h2"},k={key:1,class:"w-full grid grid-cols-2 gap-1"},h={key:0,class:"absolute start-1 bottom-1 bg-black/50 rounded-3 m-1 uppercase py-1 px-2 @text-title2-m h-5 flex-center"},b={class:"s-full flex-center"},x={class:"@text-h2"},C=(0,a.pM)({__name:"GridMediaGallery",props:{post:{},showAll:{type:Boolean}},setup(e){let t=(0,v.rd)(),l=(0,a.EW)(()=>{var t;return null==(t=e.post)?void 0:t.media[0].type}),C=(0,a.EW)(()=>e.post?e.post.media.length-4:0),w=(0,a.EW)(()=>{var t,l;return e.showAll?null==(t=e.post)?void 0:t.getPictures():null==(l=e.post)?void 0:l.getPictures().slice(0,4)}),R=(0,a.EW)(()=>{var t,l;return e.showAll?null==(t=e.post)?void 0:t.getVideos():null==(l=e.post)?void 0:l.getVideos().slice(0,4)});function A(){e.post&&t.push(e.post.createRouteLink({router:t}))}function _(t,l){if(!e.post)return;let a=[];return e.post.media.length>1?a.push("h-150px"):a.push("max-h-489px"),"pictures"===l&&w.value&&t===w.value.length-1&&t%2==0&&a.push("col-span-2"),"videos"===l&&R.value&&t===R.value.length-1&&t%2==0&&a.push("col-span-2"),a.join(" ")}let L=(0,p.S)();return(t,p)=>e.post?((0,a.uX)(),(0,a.CE)("div",m,["image"===(0,o.R1)(l)&&(0,o.R1)(w)?((0,a.uX)(),(0,a.CE)("div",f,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,o.R1)(w),(l,r)=>((0,a.uX)(),(0,a.CE)("div",{key:l.key,class:(0,n.C4)(["w-full grow relative flex items-stretch relative",_(r,"pictures")])},[(0,a.bF)(i.A,{picture:l,"image-class":"object-cover s-full rounded-3",class:"grow basis-0 rounded-3 min-w-0 min-h-10!",post:e.post,loading:function(t){var l;if(L.value===(null==(l=e.post)?void 0:l.ID)&&0===t)return"eager"}(r),"show-link":""},null,8,["picture","post","loading"]),(0,o.R1)(C)&&3===r&&!e.showAll?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"absolute inset-0 bg-gray-500/50 rounded-3",onClick:(0,s.D$)(A,["stop","prevent"])},[(0,a.Lk)("div",y,[(0,a.Lk)("bdi",g,(0,n.v_)(t.__("extended-count",[(0,o.R1)(C)])),1)])])):(0,a.Q3)("",!0)],2))),128))])):"video"===(0,o.R1)(l)&&(0,o.R1)(R)?((0,a.uX)(),(0,a.CE)("div",k,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,o.R1)(R),(l,i)=>{var p;return(0,a.uX)(),(0,a.CE)("div",{key:l.SID,class:(0,n.C4)(["w-full grow relative flex items-stretch",_(i,"videos")])}
1,[(0,a.bF)(u.A,{class:"grow basis-0 rounded-3 min-w-0 w-full min-h-10!","video-class":"rounded-3",video:l,post:e.post,"show-link":"",onClick:(0,s.D$)((0,o.R1)(d.l),["prevent"])},null,8,["video","post","onClick"]),null!=(p=e.post)&&p.liveStream?((0,a.uX)(),(0,a.CE)("div",h,[(0,a.bF)(c.A,{src:r,class:"s-4 me-1"}),(0,a.Lk)("span",null,(0,n.v_)(t.__("ended-livestream")),1)])):(0,a.Q3)("",!0),(0,o.R1)(C)&&3===i&&!e.showAll?((0,a.uX)(),(0,a.CE)("div",{key:1,class:"absolute inset-0 bg-gray-500/50 rounded-3",onClick:(0,s.D$)(A,["stop","prevent"])},[(0,a.Lk)("div",b,[(0,a.Lk)("bdi",x,(0,n.v_)(t.__("extended-count",[(0,o.R1)(C)])),1)])])):(0,a.Q3)("",!0)],2)}),128))])):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0)}});l.d(t,["A",0,C])},61781(e,t,l){var a=l(2435),s=l(94737),o=l(51984);let n=(0,a.pM)({__name:"IconButton",props:{...(0,s.p)()},setup:e=>(t,l)=>((0,a.uX)(),(0,a.Wv)(o.A,(0,a.v6)(e,{class:"p-1","loading-class":"m-1","style-type":"outlined"}),{default:(0,a.k6)(()=>[(0,a.RG)(t.$slots,"default")]),_:3},16))});l.d(t,["A",0,n])},12793(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(20369),i=l(12696),u=l(46807),c=l(73352),d=l(13114);let p={class:"leading-14px me-1 break-all"},v=["dir"],m={key:0,class:"absolute top-0 end-0 h-full w-60px pointer-events-none bg-gradient-to-l rtl:bg-gradient-to-r from-background dark:from-backgroundDark"},f=(0,a.pM)({__name:"BaseErrorHint",props:{errors:{}},setup(e){let t=(0,c.KR)(!1),l=(0,c.KR)(!1),f=(0,c.KR)(null);function y(){l.value&&(t.value=!t.value)}return(0,a.wB)(()=>e.errors,function(){(0,a.dY)(()=>{requestAnimationFrame(()=>{let e=f.value;e&&(l.value=e.scrollHeight>1.9*e.clientHeight)})})},{deep:!0,immediate:!0}),(0,a.wB)(t,e=>{let t=f.value;if(!t)return;let l="height 300ms ease",a=t.scrollHeight+"px";if(t.style.overflow="hidden",e){t.style.height="20px",t.style.transition=l,requestAnimationFrame(()=>{t.style.height=a});let e=()=>{t.style.height="auto",t.removeEventListener("transitionend",e)};t.addEventListener("transitionend",e)}else t.style.height=a,t.style.transition=l,requestAnimationFrame(()=>{t.style.height="20px"})}),(0,d.MLh)("scroll",()=>{t.value=!1}),(c,d)=>((0,a.uX)(),(0,a.Wv)(s.eB,{name:"fade"},{default:(0,a.k6)(()=>[e.errors&&e.errors.length>0?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,n.C4)(["@text-subtitle-2 start-0 h-18px mx-4 absolute border-2px -translate-y-10px dark:border-[rgba(248,151,153,0.15)] border-[rgba(244,34,47,0.1)] bg-backgroundLight dark:bg-backgroundDark ps-1 text-errorLight-500 dark:text-errorLight-200",[{"curs
1or-pointer px-6px":(0,o.R1)(l)},(0,o.R1)(t)?"@z-input-error rounded-2 ":"rounded-full "]]),onClick:(0,s.D$)(y,["stop"])},[(0,a.Lk)("div",{class:(0,n.C4)(["relative pe-6px transition-all duration-300 ease-in-out",[(0,o.R1)(t)?"h-auto":""]]),style:{contain:"layout"}},[(0,a.Lk)("div",{ref_key:"contentRef",ref:f,class:(0,n.C4)({"of-hidden":!(0,o.R1)(t),"me-6px":(0,o.R1)(l)})},[(0,a.Lk)("div",p,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.errors,(e,t)=>{var l;return(0,a.uX)(),(0,a.CE)("div",{key:t,dir:null!=(l=(0,o.R1)(i.J)(e))?l:void 0},(0,n.v_)(e),9,v)}),128))])],2),(0,a.bF)(s.eB,{name:"fade"},{default:(0,a.k6)(()=>[(0,o.R1)(l)&&!(0,o.R1)(t)?((0,a.uX)(),(0,a.CE)("div",m)):(0,a.Q3)("",!0)]),_:1}),(0,o.R1)(l)?((0,a.uX)(),(0,a.CE)("button",{key:0,type:"button",class:(0,n.C4)(["absolute top-0 end-0 text-errorLight-500 dark:text-errorLight-200 transition-transform duration-300",{"rotate-180":(0,o.R1)(t)}])},[(0,a.bF)(u.A,{src:r,class:"s-4"})],2)):(0,a.Q3)("",!0)],2)],2)):(0,a.Q3)("",!0)]),_:1}))}});l.d(t,["A",0,f])},3350(e,t,l){l(74423);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(73595),i=l(87978),u=l(63145),c=l(46807),d=l(84920),p=l(52939),v=l(5634),m=l(37011),f=l(90761),y=l(73352);let g=["type","placeholder","readonly","autocomplete","inputmode","disabled","maxlength"],k=["rows","placeholder","readonly","autocomplete","disabled"],h={key:1,class:"flex-center"},b={enabled:{default:"text-gray-600",error:"text-errorLight-500 dark:text-errorLight-200"},focused:{default:"text-black",error:"text-errorLight-500 dark:text-errorLight-200"},filledOut:{default:"text-gray-600",error:"text-errorLight-500 dark:text-errorLight-200"}},x={enabled:{default:"border-gray-200",error:"border-errorLight-500 dark:border-errorLight-200"},focused:{default:"border-black",error:"border-errorLight-500 dark:border-errorLight-200"},filledOut:{default:"border-gray-200",error:"border-errorLight-500 dark:border-errorLight-200"}},C={enabled:{default:"text-gray-600",error:"text-errorLight-500 dark:text-errorLight-200"},focused:{default:"text-black",error:"text-errorLight-500 dark:text-errorLight-200"},filledOut:{default:"text-gray-600",error:"text-errorLight-500 dark:text-errorLight-200"}},w={enabled:{default:"text-gray-600",error:"text-errorLight-500 dark:text-errorLight-200"},focused:{default:"text-black",error:"text-errorLight-500 dark:text-errorLight-200"},filledOut:{default:"text-gray-600",error:"text-errorLight-500 dark:text-errorLight-200"}},R=(0,a.pM)({...{},__name:"BaseInput",props:{...(0,u.jv)(),type:{type:String,required:!0},modelValue:{type:[String,Number],required:!1,default:null},numeric:{type:Boolean,required:!1,default:void 0},rows:{type:Number,default:4},numberGroup:{type:Boolean,default:!1},roundedClass:{type:String,required:!1},appendIconClass:{type:String,required:!1,default:""},labelMovedClass:{type:String,required:!1,default:""},labelPositionClass:{type:String,required:!1,default:""},forcedFocus:{type:Boolean,default:!1},labelDirection:{type:String,default:void 0}},emits:["update:modelValue","change","error","click","appendIconClick","prependIconClick","focus","blur","input"],setup(e,{expose:t,emit:l}){let u=(0,y.KR)(null),R=(0,y.KR)(!1),A=(0,a.EW)(()=>void 0!==W.value&&""!==W.value),_=(0,a.EW)(()=>!!e.placeholder&&!!e.label||R.value||A.value),L=(0,a.EW)(()=>{var t;return null!=(t=e.numeric)?t:["tel","number","country-code"].includes(e.type)});L.value&&"country-code"!==e.type&&(0,i.A)(u,"n");let E=(0,p.M)(e.name),W=(0,a.EW)({get:()=>E?E.value.value:e.modelValue,set(e){E?E.value.value=e:l("update:modelValue",e)}}),X=(0,a.EW)(()=>R.value||e.forcedFocus?"focused":A.value?"filledOut":"enabled"),M=(0,a.EW)(()=>e.error||null!=E&&E.visibleErrors.value?"error":"default"),F=(0,a.EW)(()=>e.inputmode?e.inputmode:e.numeric||"country-code"===e.type?"numeric":void 0),B=(0,a.EW)(()=>e.placeholder?e.placeholder:!e.floatingLabel&&e.label?e.label:void 0),T=(0,a.EW)(()=>["n-kmtrfz",{"pointer-events-none":e.canClickOnly,"@text-h3-r placeholder:@text-h3-r":"large"===e.size,"@text-title1-r placeholder:@text-title1-r":"small"===e.size,"dir-ltr":e.numeric},e.numberGroup||L.value?"n-i2wmft":"n-scquwg",e.inputClass]);function Q(){var e;W.value="",null==(e=u.value)||e.focus()}function S(){return C[X.value][M.value]}function z(t){l("input");let a=t.target.value;"country-code"===e.type&&(a=(a=(0,v.Qg)(a)).startsWith("+")?"+"+a.slice(1).replace(/\D/g,"").slice(0,3):"+"+a.replace(/\D/g,"")),W.value=a}let D=(0,a.EW)(()=>
1{if(e.infoText)return e.infoText;if(e.characterLimit&&"string"==typeof W.value&&!e.showCharacterLimitCircular){var t,l;return`${null!=(t=null==(l=W.value)?void 0:l.length)?t:0}/${e.characterLimit}`}return null});function P(e){E&&(E.touched.value=!0),l("change",e)}function $(t){var l,a,s;if(!L.value||"country-code"===e.type)return;t.preventDefault();let o=(null==(l=t.clipboardData)?void 0:l.getData("text/plain"))||"",n=(0,v.Qg)(o).replace(/[^\d.-]/g,"");if(!n)return;let r=t.currentTarget,i=null!=(a=r.selectionStart)?a:0,u=null!=(s=r.selectionEnd)?s:0;r.value=r.value.slice(0,i)+n+r.value.slice(u);let c=i+n.length;r.setSelectionRange(c,c),W.value=r.value,r.dispatchEvent(new Event("input",{bubbles:!0}))}function K(){R.value=!0,l("focus")}function V(){R.value=!1,l("blur")}return(0,a.sV)(()=>{if(e.numberGroup){let e=u.value;e.addEventListener("keydown",t=>{let{key:l,which:a}=t,{selectionStart:s,value:o}=e,n=o[s-1],r=o[s];("Backspace"===l||8===a)&&","===n?(t.preventDefault(),e.setSelectionRange(s-2,s-1),document.execCommand("delete")):("Delete"===l||46===a)&&","===r&&(t.preventDefault(),e.setSelectionRange(s+1,s+2),document.execCommand("delete"))})}}),t({input:u,isFocused:R}),(0,a.sV)(()=>{var t;e.autoFocus&&(null==(t=u.value)||t.focus())}),(t,i)=>{var p;return(0,a.uX)(),(0,a.CE)("div",{class:(0,n.C4)(["select-none relative",{"opacity-50":e.disabled}])},[(0,a.Lk)("div",{class:(0,n.C4)(["n-9183d5",[x[X.value][M.value],{"ring-1 ring-errorLight-500 dark:ring-errorLight-200":"error"===(0,o.R1)(M),"ring-1 ring-black":"focused"===(0,o.R1)(X)&&"error"!==(0,o.R1)(M),"cursor-pointer":t.canClickOnly&&!t.disabled,"n-xoojut":"small"===t.size,"n-wupqrw":"large"===t.size,"h-10":"small"===t.size&&"textarea"!==e.type,"n-3xfhsp":"large"===t.size&&"textarea"!==e.type},e.roundedClass]]),onClick:i[4]||(i[4]=e=>l("click",e))},[t.floatingLabel&&t.label?((0,a.uX)(),(0,a.CE)("span",{key:0,class:(0,n.C4)(["transition-transform transform-origin-start duration-300 absolute px-1 rounded-8px pointer-events-none min-w-0",[!_.value&&e.prependIcon&&"large"===e.size?"-translate-y-1/2 translate-x-32px rtl:-translate-y-1/2 rtl:-translate-x-32px":!_.value&&e.prependIcon&&"small"===e.size?"-translate-y-1/2 translate-x-24px rtl:-translate-y-1/2 rtl:-translate-x-24px":_.value||e.prependIcon?_.value?e.labelMovedClass||"-translate-y-150% scale-85 bg-backgroundLight dark:bg-backgroundDark":void 0:"-translate-y-1/2",_.value&&e.labelPositionClass?e.labelPositionClass:"textarea"===e.type?"top-6":"top-50%",b[X.value][M.value],e.labelDirection?"rtl"===e.labelDirection?"right-3":"left-3":"start-3",{"@text-h3-r":"large"===t.size,"@text-title1-r":"small"===t.size}]])},(0,n.v_)(t.label),3)):(0,a.Q3)("",!0),t.prependIcon?((0,a.uX)(),(0,a.CE)("button",{key:1,type:"button",class:"shrink-0 me-1",onClick:i[0]||(i[0]=e=>l("prependIconClick",e))},[(0,a.bF)(c.A,{src:t.prependIcon,class:(0,n.C4)([S(),{"s-6":"large"===t.size,"s-5":"small"===t.size}])},null,8,["src","class"])])):(0,a.Q3)("",!0),(0,a.RG)(t.$slots,"default",{},()=>["textarea"!==e.type?(0,a.bo)(((0,a.uX)(),(0,a.CE)("input",{key:0,ref_key:"inputElement",ref:u,"onUpdate:modelValue":i[1]||(i[1]=e=>(0,o.i9)(W)?W.value=e:null),class:(0,n.C4)((0,o.R1)(T)),type:e.type,placeholder:(0,o.R1)(B),readonly:t.readonly,autocomplete:t.autocomplete,inputmode:(0,o.R1)(F),disabled:t.disabled,spellcheck:"false",maxlength:t.maxLength,onFocus:K,onBlur:V,onChange:P,onInput:z,onPaste:$},null,42,g)),[[s.hp,(0,o.R1)(W)]]):(0,a.bo)(((0,a.uX)(),(0,a.CE)("textarea",{key:1,ref_key:"inputElement",ref:u,"onUpdate:modelValue":i[2]||(i[2]=e=>(0,o.i9)(W)?W.value=e:null),class:(0,n.C4)(["pt-4 resize-none scroll-container",[(0,o.R1)(T)]]),rows:e.rows,placeholder:(0,o.R1)(B),readonly:t.readonly,autocomplete:t.autocomplete,disabled:t.disabled,spellcheck:"false",onFocus:K,onBlur:V,onChange:P,onInput:z},null,42,k)),[[s.Jo,(0,o.R1)(W)]])]),t.showResetButton||t.appendIcon||t.$slots.append?((0,a.uX)(),(0,a.CE)("div",{key:2,class:(0,n.C4)(["shrink-0 relative ms-1 flex-center mt-3",[{"s-6":"large"===t.size&&!t.$slots.append,"s-5":"small"===t.size&&!t.$slots.append},e.appendIconClass]])},[(0,a.RG)(t.$slots,"append",{},()=>[(0,a.bF)(s.eB,{name:"fade",mode:"out-in"},{default:(0,a.k6)(()=>{var e;return[(0,o.R1)(A)&&t.showResetButton?((0,a.uX)(),(0,a.CE)("button",{key:"1",class:"s-full flex-center",type:"button",onClick:(0,s.D$)(Q,["stop"])},[(0,a.bF)(c.A,{class:"absolute inset-0 text-gray-600",src:r})])):t.showCharacterLimitCircular?((0,a.uX)(),(0,a.CE)("div",h,[t.characterLimit?((0,a.uX)(),(0,a.Wv)(m.A,{key:0,count:null==(e=(0,o.R1)(W))?void 0:e.length,"max-count":t.characterLimit,threshold:10,class:"shrink-0"},null,8,["count","max-count"])):(0,a.Q3)("",!0)])):t.appendIcon?((0,a.uX)(),(0,a.CE)("button",{key:"2",class:"s-full flex-center",type:"button",onClick:i[3]||(i[3]=e=>l("appendIconClick",e))},[(0,a.bF)(c.A,{class:(0,n.C4)(["absolute inset-0",S()]),src:t.appendIcon},null,8,["class","src"])])):(0,a.Q3)("",!0)]}),_:1})])],2)):(0,a.Q3)("",!0)],2),(0,o.R1)(E)&&null!=(p=(0,o.R1)(E))&&p.visibleErrors.value?(0,a.bo)(((0,a.uX)(),(0,a.Wv)(d.A,{key:0,errors:(0,o.R1)(E).visibleErrors.value},null,8,["errors"])),[[(0,o.R1)(f.A)]]):t.error&&"string"==typeof t.error?(0,a.bo)(((0,a.uX)(),(0,a.Wv)(d.A,{key:1,errors:[t.error]},null,8,["errors"])),[[(0,o.R1)(f.A)]]):(0,a.Q3)("",!0),(0,o.R1)(D)?((0,a.uX)(),(0,a.CE)("p",{key:2,class:(0,n.C4)(["@text-subtitle-2 mt-2 ps-1 dir-start",[w[X.value][M.value],"end"===e.infoTextDirection?"text-end":"text-start"]])},[(0,a.Lk)("bdi",null,(0,n.v_)((0,o.R1)(D)),1)],2)):(0,a.Q3)("",!0)],2)}}});l.d(t,["A",0,R])},20696(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(5634);let i=(0,a.pM)({__name:"BaseSwitch",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,a.fn)(e,"modelValue");return(e,l)=>((0,a.uX)(),(0,a.CE)("button",{type:"button",onClick:l[1]||(l[1]=(0,s.D$)(e=>t.value=!t.value,["stop"]))},[(0,a.bo)((0,a.Lk)("input",{"onUpdate:modelValue":l[0]||(l[0]=e=>t.value=e),class:"hidden",type:"checkbox"},null,512),[[s.lH,t.value]]),(0,a.Lk)("div",{class:(0,n.C4)(["w-6 h-3 relative rounded-9px curs
1or-pointer",{"bg-primary-100 dark:bg-primary-200/20":t.value,"bg-gray-300":!t.value}])},[(0,a.Lk)("span",{class:(0,n.C4)(["absolute s-4 rounded-full -top-2px start-0 transition-transform",{"bg-primaryLight-500":t.value,"bg-gray-100":!t.value}]),style:(0,n.Tr)((0,o.R1)(r.O9)(`translateX(${t.value?(0,o.R1)(r.FW)(10):0}px)`))},null,6)],2)]))}});l.d(t,["A",0,i])},30852(e,t,l){var a=l(2435),s=l(63145),o=l(92445);let n=(0,a.pM)({__name:"InputNumber",props:(0,a.zz)({...(0,s.jv)()},{modelValue:{default:""},modelModifiers:{}}),emits:(0,a.zz)(["prependIconClick","appendIconClick"],["update:modelValue"]),setup(e,{emit:t}){let l=(0,a.fn)(e,"modelValue");return(s,n)=>((0,a.uX)(),(0,a.Wv)(o.A,(0,a.v6)(e,{modelValue:l.value,"onUpdate:modelValue":n[0]||(n[0]=e=>l.value=e),type:"text",inputmode:"numeric","max-length":s.maxLength,"character-limit":s.characterLimit,numeric:"",onPrependIconClick:n[1]||(n[1]=e=>t("prependIconClick")),onAppendIconClick:n[2]||(n[2]=e=>t("appendIconClick"))}),null,16,["modelValue","max-length","character-limit"]))}});l.d(t,["A",0,n])},2116(e,t,l){l(23792),l(72712),l(18111),l(61701),l(18237),l(3362),l(62953);var a=l(2435),s=l(69627),o=l(14643),n=l(46807),r=l(79201),i=l(51240),u=l(5634),c=l(14539),d=l(73352);let p={key:0,class:"shrink-0 w-full mt-1 md:mt-0"},v={class:"@text-body capitalize grow"},m={class:"text-black @text-h4-m ms-1",dir:"ltr"},f=(0,a.pM)({__name:"LineChart",props:{data:{},ignoreAspectRatio:{type:Boolean}},setup(e){let t,f=(0,r.TH)(),y=(0,d.KR)(),g=(0,a.EW)(()=>i.ZP.colors),k={id:"chartAreaBorder",beforeDraw(e){let{ctx:t,chartArea:{left:l,top:a,width:s,height:o}}=e;t.save(),t.strokeStyle=g.value.gray100,t.lineWidth=1,t.beginPath();try{t.roundRect(l,a,s,o,8)}catch(e){t.rect(l,a,s,o)}t.stroke(),t.restore()}},h={id:"chartVerticalLine",afterDraw(e){let t=e.getActiveElements();if(t.length){let l=t[0].element.x,a=e.scales.y,s=e.ctx;s.save(),s.beginPath(),s.setLineDash([5,5]),s.moveTo(l,a.top),s.lineTo(l,a.bottom),s.lineWidth=2,s.strokeStyle=g.value.gray400,s.stroke(),s.restore()}}},b=(0,a.EW)(()=>1===e.data.datasets.length),x={fill:b.value,tension:.2},C=(0,a.EW)(()=>({labels:e.data.labels,datasets:e.data.datasets.map(e=>{let t=e.label;return e.badgeText&&(t+=` (${e.badgeText})`),{...x,data:e.values,label:t,borderColor:g.value[e.color]}})}));async function w(){let t=C.value,a=y.value,{Chart:s}=await l.e(5816).then(()=>l(5816)),o=getComputedStyle(a).getPropertyValue("--font");o&&(s.defaults.font.family=o);let n=new s(a,{type:"line",data:t,options:{font:{family:o},maintainAspectRatio:!e.ignoreAspectRatio,interaction:{mode:"index"},scales:{x:{border:{display:!1,dash:[3]},ticks:{color:g.value.gray400,padding:10},grid:{color:e=>e.index===e.chart.scales.x.min||e.index===e.chart.scales.x.max?"transparent":g.value.gray100,drawTicks:!1}},y:{border:{display:!1,dash:[3]},ticks:{color:g.value.gray400,padding:8,callback:e=>(0,u.Nf)(Number(e))},grid:{color:e=>e.tick.value===e.chart.scales.y.min||e.tick.value===e.chart.scales.y.max?"transparent":g.value.gray100,drawTicks:!1},beginAtZero:!0}},plugins:{legend:{display:!1},tooltip:{rtl:f.meta.rtl,displayColors:!1,intersect:!1,position:"nearest"}}},plugins:[k,h]});if(b.value){let{bottom:e,top:l}=n.chartArea,a=n.canvas.getContext("2d").createLinearGradient(0,e,0,l),{r:s,g:o,b:r}=(0,c.E)(t.datasets[0].borderColor.toString());a.addColorStop(0,`rgba(${s}, ${o}, ${r}, 0.00)`),a.addColorStop(1,`rgba(${s}, ${o}, ${r}, 0.20)`),t.datasets[0].backgroundColor=a,n.update()}return n}return(0,a.p9)(async e=>{e((t=await w()).destroy.bind(t))}),(0,s.jr)(()=>{var e;null==(e=t)||e.destroy()}),(t,l)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("canvas",{ref_key:"canvas",ref:y},null,512),(0,s.R1)(b)?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("div",p,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.data.datasets,e=>((0,a.uX)(),(0,a.CE)("div",{key:e.label,class:"text-gray-600 flex items-center px-1 py-2 border-b-0.35 border-black/8 last:border-b-none"},[(0,a.Lk)("div",{style:(0,o.Tr)({backgroundColor:(0,s.R1)(g)[e.color]}),class:"rounded-full s-2 me-10px"},null,4),e.icon?((0,a.uX)(),(0,a.Wv)(n.A,{key:0,src:e.icon,class:"s-4 me-6px"},null,8,["src"])):(0,a.Q3)("",!0),(0,a.Lk)("div",v,(0,o.v_)(e.label),1),(0,a.Lk)("div",m,(0,o.v_)((0,s.R1)(u.Nf)(e.values.reduce((e,t)=>
1e+t,0))),1)]))),128))]))]))}});l.d(t,["A",0,f])},35202(e,t,l){l(89463),l(23792),l(62953),l(3296),l(27208),l(48408),l(14603),l(47566),l(98721);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(72111),i=l(73595),u=l(94302),c=l(15846),d=l(2687),p=l(6415),v=l(46807),m=l(35011);let f=["href"],y={class:"rounded-s-12px w-100px min-h-100px shrink-0 of-hidden flex-center relative"},g={class:"grow px-3 whitespace-pre-wrap py-2 prosed of-hidden"},k={class:"truncate text-start @text-body text-gray-600",dir:"ltr"},h=["innerHTML"],b=["innerHTML"],x=(0,a.pM)({__name:"LinkPreview",props:{openGraph:{},removeIcon:{type:Boolean}},emits:["remove"],setup(e,{emit:t}){let l=(0,m.rd)(),x=(0,a.EW)(()=>c.W.processTextBlock(e.openGraph.title,!0)),C=(0,a.EW)(()=>c.W.processTextBlock(e.openGraph.description,!0)),w=(0,a.EW)(()=>(0,d.C)(e.openGraph.url)),R=(0,a.EW)(()=>new URL(w.value));function A(e){e.defaultPrevented||((0,u.t0)(w.value,l),e.preventDefault())}let _=(0,a.EW)(()=>e.openGraph.imageURL),L=(0,a.EW)(()=>e.openGraph.faviconURL);return(l,u)=>((0,a.uX)(),(0,a.CE)("a",{class:"w-full text-inherit flex rounded-3 border-1 border-gray-100 font-default relative",rel:"ugc noopener",href:(0,o.R1)(w),onClick:A},[(0,a.Lk)("div",y,[(0,o.R1)(_)?((0,a.uX)(),(0,a.Wv)(p.A,{key:0,class:"s-full","image-class":"object-cover w-full absolute inset-0",src:(0,o.R1)(_),crossorigin:""},null,8,["src"])):((0,a.uX)(),(0,a.Wv)(v.A,{key:1,class:"s-58px text-gray-300",src:r}))]),u[1]||(u[1]=(0,a.Lk)("div",{class:"w-1px after:content-empty after:absolute after:bg-gray-100 after:w-1px after:inset-y-0"},null,-1)),(0,a.Lk)("div",g,[(0,a.Lk)("div",{class:(0,n.C4)(["pb-1 truncate",{"pe-6":e.removeIcon}])},[(0,o.R1)(L)?((0,a.uX)(),(0,a.Wv)(p.A,{key:0,class:"s-4 me-1 !inline-block align-middle",src:(0,o.R1)(L),crossorigin:""},null,8,["src"])):(0,a.Q3)("",!0),(0,a.Lk)("span",k,(0,n.v_)((0,o.R1)(R).hostname),1)],2),(0,a.Lk)("p",{class:"@text-body font-size-content text-black line-clamp-1 mb-2px inline-auto-dir",innerHTML:(0,o.R1)(x)},null,8,h),(0,a.Lk)("p",{class:"@text-body font-size-content text-gray-600 line-clamp-2 inline-auto-dir",innerHTML:(0,o.R1)(C)},null,8,b)]),e.removeIcon?((0,a.uX)(),(0,a.CE)("button",{key:0,type:"button",class:"rounded-full bg-gray-900/80 s-6 absolute end-6px top-6px",onClick:u[0]||(u[0]=(0,s.D$)(e=>t("remove"),["prevent"]))},[(0,a.bF)(v.A,{src:i,class:"p-1"})])):(0,a.Q3)("",!0)],8,f))}});l.d(t,["A",0,x])},45350(e,t,l){var a=l(2435),s=l(69627),o=l(54233),n=l(91237);let r=(0,a.pM)({__name:"MediaGallery",props:{post:{},showAll:{type:Boolean},scrollContainerClass:{},ignoreMarginTop:{type:Boolean}},setup(e){let t=(0,a.EW)(()=>e.post.mediaViewMode);return(l,r)=>"grid"===(0,s.R1)(t)||1===e.post.media.length?((0,a.uX)(),(0,a.Wv)(o.A,{key:0,post:e.post,"show-all":e.showAll},null,8,["post","show-all"])):"slide"===(0,s.R1)(t)?((0,a.uX)(),(0,a.Wv)(n.A,{key:1,post:e.post,"scroll-container-class":e.scrollContainerClass,"ignore-margin-top":e.ignoreMarginTop},null,8,["post","scroll-container-class","ignore-margin-top"])):(0,a.Q3)("",!0)}});l.d(t,["A",0,r])},54535(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(27897),i=l(2334),u=l(94373),c=l(73352);let d=["aria-label"],p={class:"bs-body-wrapper"},v=(0,a.pM)({__name:"Menu",props:(0,a.zz)({activeButtonClass:{},contextMenuClass:{},label:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){let l=(0,a.fn)(e,"modelValue"),v=(0,r.l)("sm"),m=(0,c.KR)();function f(e){l.value=!0,m.value&&m.value.setPosition(e)}return t({openMenu:f,contextMenu:m}),(t,r)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("button",{type:"button",class:(0,n.C4)(["n-yln80x",e.activeButtonClass]),"aria-label":e.label,onClick:(0,s.D$)(f,["prevent"])},[(0,a.RG)(t.$slots,"active-button")],10,d),(0,o.R1)(v)?((0,a.uX)(),(0,a.Wv)(u.A,{key:0,ref_key:"contextMenu",ref:m,modelValue:l.value,"onUpdate:modelValue":r[0]||(r[0]=e=>l.value=e),"container-classes":e.contextMenuClass},{default:(0,a.k6)(()=>[(0,a.RG)(t.$slots,"default")]),_:3},8,["modelValue","container-classes"])):((0,a.uX)(),(0,a.Wv)(i.A,{key:1,modelValue:l.value,"onUpdate:modelValue":r[1]||(r[1]=e=>l.value=e),"hide-close-button":""},{default:(0,a.k6)(()=>[(0,a.Lk)("div",p,[(0,a.RG)(t.$slots,"default")])]),_:3},8,["modelValue"]))]))}});l.d(t,["A",0,v])},62779(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(79201),i=l(69716);let u={class:"mx-2px"},c={class:"mx-2px"},d={class:"mx-2px"},p=(0,a.pM)({__name:"MultiUserName",props:{i18n:{},users:{},type:{default:"fullname"},noLink:{type:Boolean},linksClass:{default:""}},emits:["expand"],setup:(e,{emit:t})=>(l,p)=>e.users.length?((0,a.uX)(),(0,a.Wv)((0,o.R1)(r.Uz),{key:0,i18n:e.i18n},{0:(0,a.k6)(()=>[(0,a.Lk)("span",{class:(0,n.C4)([e.linksClass,"min-w-0 break-words"])},[1===e.users.length?((0,a.uX)(),(0,a.Wv)(i.A,{key:0,user:e.users[0],type:e.type,"no-link":e.noLink},null,8,["user","type","no-link"])):2===e.users.length?((0,a.uX)(),(0,a.CE)(a.FK,{key:1},[(0,a.bF)(i.A,{user:e.users[0],type:e.type,"no-link":e.noLink},null,8,["user","type","no-link"]),(0,a.Lk)("span",u,(0,n.v_)(l.__("and")),1),(0,a.bF)(i.A,{user:e.users[1],type:e.type,"no-link":e.noLink},null,8,["user","type","no-link"])],64)):3===e.users.length?((0,a.uX)(),(0,a.CE)(a.FK,{key:2},[(0,a.bF)(i.A,{user:e.users[0],type:e.type,"no-link":e.noLink},null,8,["user","type","no-link"]),(0,a.Lk)("span",c,(0,n.v_)(l.__("and")),1),(0,a.bF)(i.A,{user:e.users[1],type:e.type,"no-link":e.noLink},null,8,["user","type","no-link"]),(0,a.Lk)("span",d,(0,n.v_)(l.__("and")),1),(0,a.bF)(i.A,{user:e.users[2],type:e.type,"no-link":e.noLink},null,8,["user","type","no-link"])],64)):((0,a.uX)(),(0,a.CE)(a.FK,{key:3},[(0,a.bF)(i.A,{user:e.users[0],type:e.type,"no-link":e.noLink},null,8,["user","type","no-link"]),(0,a.Lk)("a",{class:"n-5gauii clickable",onClick:p[
10]||(p[0]=(0,s.D$)(e=>t("expand"),["prevent"]))},(0,n.v_)(l.__("and-n-others",[e.users.length-1])),1)],64))],2)]),_:1},8,["i18n"])):(0,a.Q3)("",!0)});l.d(t,["A",0,p])},77790(e,t,l){l(23792),l(62953);var a=l(2435),s=l(69627),o=l(42413),n=l(68656),r=l(73352);let i=(0,a.pM)({__name:"Observer",props:{options:{}},emits:["intersect","outOfViewport"],setup(e,{emit:t}){let l=null,i=(0,r.KR)(null),u=(0,o.x3)();return u&&((0,a.sV)(()=>{let a=e.options||{};a.rootMargin||(a.rootMargin="100px"),(l=new IntersectionObserver(([e])=>{e&&e.isIntersecting?t("intersect"):t("outOfViewport")},a)).observe(i.value)}),(0,s.jr)(()=>{var e;null==(e=l)||e.disconnect()})),(e,t)=>((0,a.uX)(),(0,a.CE)("div",{ref_key:"thisElement",ref:i,class:"observer"},[(0,a.bF)(n.A,null,{default:(0,a.k6)(()=>[(0,s.R1)(u)?(0,a.Q3)("",!0):(0,a.RG)(e.$slots,"fallback",{},void 0,void 0,0)]),_:3})],512))}});l.d(t,["A",0,i])},22307(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(75732),i=l(94373),u=l(73352);let c=["aria-label"],d=(0,a.pM)({__name:"PlaybackRateButton",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,a.fn)(e,"modelValue"),d=(0,a.EW)(()=>[{text:"2x",value:2},{text:"1.75x",value:1.75},{text:"1.5x",value:1.5},{text:"1.25x",value:1.25},{text:"1x",value:1},{text:"0.75x",value:.75}]),p=(0,u.KR)(!1),v=(0,u.KR)();function m(e){p.value=!0,v.value&&v.value.setPosition(e)}return(e,u)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("button",{type:"button","aria-label":e.__("set-playback-rate"),onClick:(0,s.D$)(m,["prevent"])},[(0,a.RG)(e.$slots,"default")],8,c),(0,a.bF)(i.A,{ref_key:"selectPlaybackSpeedContextMenu",ref:v,modelValue:(0,o.R1)(p),"onUpdate:modelValue":u[0]||(u[0]=e=>(0,o.i9)(p)?p.value=e:null)},{default:(0,a.k6)(()=>[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,o.R1)(d),e=>{var s;return(0,a.uX)(),(0,a.Wv)(r.A,{key:e.value,action:()=>{t.value=e.value,p.value=!1},icon:(s=e.value,t.value===s)?l(52983):void 0},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(e.text),1)]),_:2},1032,["action","icon"])}),128))]),_:1},8,["modelValue"])]))}});l.d(t,["A",0,d])},65759(e,t,l){var a=l(2435),s=l(38608);let o={class:"n-xk9zg6"},n=(0,a.pM)({__name:"Audio",props:{audio:{}},setup:e=>(t,l)=>((0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(s.A,{"can-download":"",audio:e.audio},null,8,["audio"])]))});l.d(t,["A",0,n])},24992(e,t,l){var a=l(2435),s=l(49902);let o={class:"grid gap-y-1px"},n=(0,a.pM)({__name:"AudioList",props:{audios:{}},setup:e=>(t,l)=>((0,a.uX)(),(0,a.CE)("div",o,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.audios,e=>((0,a.uX)(),(0,a.Wv)(s.A,{key:e.key,audio:e,class:"first:rounded-t-4 last:rounded-b-4"},null,8,["audio"]))),128))]))});l.d(t,["A",0,n])},67916(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(29035),r=l(36596),i=l(79201);let u={class:"bs-body-wrapper"},c={class:"bs-form-wrapper"},d={key:0,class:"flex items-center justify-between"},p={class:"@text-h3-r"},v={class:"flex items-center justify-between"},m={class:"@text-h3-r"},f=(0,a.pM)({__name:"BottomSheetPostPreviewSettings",props:{reactionsEnabled:{type:Boolean,required:!0},reactionsEnabledModifiers:{},actionsEnabled:{type:Boolean,required:!0},actionsEnabledModifiers:{}},emits:["update:reactionsEnabled","update:actionsEnabled"],setup(e){let t=(0,a.fn)(e,"reactionsEnabled"),l=(0,a.fn)(e,"actionsEnabled"),f={type:"text",title:(0,i.Ay)("settings")};return(e,i)=>((0,a.uX)(),(0,a.CE)("div",u,[(0,a.bF)(r.A,{"header-config":f}),(0,a.Lk)("div",c,[(0,s.R1)(!0)?((0,a.uX)(),(0,a.CE)("div",d,[(0,a.Lk)("span",p,(0,o.v_)(e.__("reactions")),1),(0,a.bF)(n.A,{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=e=>t.value=e)},null,8,["modelValue"])])):(0,a.Q3)("",!0),(0,a.Lk)("div",v,[(0,a.Lk)("span",m,(0,o.v_)(e.__("actions")),1),(0,a.bF)(n.A,{modelValue:l.value,"onUpdate:modelValue":i[1]||(i[1]=e=>l.value=e)},null,8,["modelValue"])])])]))}});l.d(t,["A",0,f])},5810(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(97095),r=l(12712),i=l(36596),u=l(79201);let c={class:"bs-body-wrapper min-h-85vh"},d={class:"@text-h3-b"},p=(0,a.pM)({__name:"BottomSheetPostStats",props:{post:{}},setup(e){let{LoadingContainer:t,result:l}=(0,n.A)(()=>e.post.getOthersPerformanceStatsForChart()),p={type:"text",title:(0,u.Ay)("stats")};return(e,n)=>((0,a.uX)(),(0,a.CE)("div",c,[(0,a.bF)(i.A,{"header-config":p}),(0,a.bF)((0,s.R1)(t),{class:"p-4"},{default:(0,a.k6)(()=>[(0,a.Lk)("h3",d,(0,o.v_)(e.__("daily-performance-on-post")),1),(0,s.R1)(l)?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,stats:(0,s.R1)(l)},null,8,["stats"])):(0,a.Q3)("",!0)]),_:1})]))}});l.d(t,["A",0,p])},87823(e,t,l){l(89463);var a=l(2435),s=l(69627),o=l(14643),n=l(54084),r=l(95330),i=l(46807),u=l(93208),c=l(26536),d=l(36992),p=l(79201),v=l(85820),m=l(290);let f={class:"text-black flex flex-col font-default border-0.5px border-gray-200 rounded-3 py-2 px-3"},y={class:"flex items-center"},g={class:"@text-subtitle-s px-2 h-5 bg-primaryLight-500/15 dark:bg-primaryLight-500/25 text-primary-500 rounded-3"},k={class:"break-words justifiable mt-2"},h={class:"@text-h3-b"},b={class:"mt-1 @text-body whitespace-pre-wrap"},x={key:0,class:"flex items-center text-gray-600 mt-2 w-full"},C={class:"@text-body break-words min-w-0"},w=(0,a.pM)({__name:"Campaign",props:{displayProcessBar:{type:Boolean},post:{}},setup(e){let t=(0,p.TH)(),l=(0,a.EW)(()=>e.post.campaign),w=(0,a.EW)(()=>!!(0,m.$3)("campaignManagement",e.post.community)||"verified"!==l.value.status),R=(0,a.EW)(()=>{let e=l.value.responsiblePersons;return null==e?void 0:e.join(t.meta.comma+" ")});return(t,p)=>((0,a.uX)(),(0,a.CE)("div",f,[(0,a.Lk)("div",y,[(0,a.Lk)("span",g,(0,o.v_)((0,s.R1)(l).typeString),1),t.$can("campaignPickByFollowupUser",e.post.community)?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.bF)(i.A,{src:n,class:"w-1.5px mx-2 text-black/12"}),(0,a.bF)(v.A,{campaign:(0,s.R1)(l)},null,8,["campaign"])],64)):(0,a.Q3)("",!0)]),(0,a.Lk)("div",k,[(0,a.Lk)("h3",h,(0,o.v_)((0,s.R1)(l).title),1),(0,a.Lk)("p",b,(0,o.v_)((0,s.R1)(l).description),1)]),(0,s.R1)(R)?((0,a.uX)(),(0,a.CE)("div",x,[(0,a.bF)(i.A,{src:r,class:"s-4 shrink-0 me-2"}),(0,a.Lk)("p",C,(0,o.v_)((0,s.R1)(R)),1)])):(0,a.Q3)("",!0),(0,a.bF)(u.A,{campaign:(0,s.R1)(l),class:"mt-2"},null,8,["campaign"]),e.displayProcessBar?((0,a.uX)(),(0,a.Wv)(c.A,{key:1,class:"mt-4 select-none",post:e.post},null,8,["post"])):(0,a.Q3)("",!0),(0,s.R1)(w)?((0,a.uX)(),(0,a.Wv)(d.A,{key:2,class:"mt-3",post:e.post},null,8,["post"])):(0,a.Q3)("",!0)]))}});l.d(t,["A",0,w])},43737(e,t,l){l(3362);var a=l(2435),s=l(69627),o=l(14643),n=l(51984),r=l(78239),i=l(79201),u=l(29245);let c={class:"flex items-center justify-between"},d={class:"relative flex-center pe-3"},p={class:"@text-title1-b ms-2"},v={class:"ms-3 justify-self-start truncate w-full min-w-0"},m=(0,a.pM)({__name:"CampaignAction",props:{campaign:{}},setup(e){let t=(0,a.EW)(()=>e.campaign.isSupportedByMe?{styleType:"tonal",title:(0,i.Ay)("supporting")}:{styleType:"outlined",title:(0,i.Ay)("support")});async function m(t){if(t.preventDefault(),!e.campaign.isSupportedByMe)return await (0,r.z)(),(0,u.fH)({subt
1itle:(0,i.Ay)("support-campaign-confirm"),action:()=>e.campaign.support(),okText:(0,i.Ay)("support"),type:"secondary",title:(0,i.Ay)("support-campaign"),icon:l(29976)})}return(l,r)=>e.campaign.canSupport?((0,a.uX)(),(0,a.Wv)(n.A,{key:0,"style-type":(0,s.R1)(t).styleType,class:"select-none font-locale",inert:e.campaign.isSupportedByMe,action:m},{default:(0,a.k6)(()=>[(0,a.Lk)("span",c,[(0,a.Lk)("span",d,[(0,a.Lk)("span",p,(0,o.v_)(e.campaign.supportsCount),1),r[0]||(r[0]=(0,a.Lk)("span",{class:"absolute h-3 w-px bg-black/24 my-auto inset-y-0 end-0"},null,-1))]),(0,a.Lk)("span",v,(0,o.v_)((0,s.R1)(t).title),1)])]),_:1},8,["style-type","inert"])):(0,a.Q3)("",!0)}});l.d(t,["A",0,m])},78233(e,t,l){l(89463),l(23792),l(18111),l(20116),l(62953);var a=l(2435),s=l(69627),o=l(14643),n=l(95745);let r={key:0},i={class:"flex justify-between mt-1 dir-ltr"},u={key:0,class:"grow basis-0"},c={class:"text-black @text-subtitle-s font-locale"},d={class:"text-gray-600 @text-subtitle-2 mt-2px line-clamp-2"},p={key:1,class:"grow basis-0 text-right"},v={class:"text-black @text-subtitle-s font-locale"},m={class:"text-gray-600 @text-subtitle-2 mt-2px line-clamp-2"},f=(0,a.pM)({__name:"CampaignProcessBar",props:{post:{}},setup(e){let t=(0,a.EW)(()=>e.post.campaign),l=(0,a.EW)(()=>{if(t.value.levelDescriptions)return[{description:"",level:0},...t.value.levelDescriptions]}),f=(0,a.EW)(()=>{var e;return null==(e=l.value)?void 0:e.find(e=>e.level>t.value.supportsCount)}),y=(0,a.EW)(()=>{if(!l.value)return;let e=l.value.findIndex(e=>{var t;return e.level===(null==(t=f.value)?void 0:t.level)});if(e)return l.value[e-1]}),g=(0,a.EW)(()=>f.value&&y.value?(t.value.supportsCount-y.value.level)/(f.value.level-y.value.level):0),k=(0,a.EW)(()=>{let e=100*g.value;return`linear-gradient(to right, var(--color-primary-500) ${e}%, var(--color-gray-100) ${e}%)`});return(e,t)=>{var g;return null!=(g=(0,s.R1)(l))&&g.length?((0,a.uX)(),(0,a.CE)("div",r,[(0,a.Lk)("div",{class:"n-wqgz01",style:(0,o.Tr)({background:(0,s.R1)(k)})},null,4),(0,a.Lk)("div",i,[(0,s.R1)(y)?((0,a.uX)(),(0,a.CE)("div",u,[(0,a.Lk)("div",c,(0,o.v_)((0,s.R1)(n.$)((0,s.R1)(y).level)),1),(0,a.Lk)("div",d,(0,o.v_)((0,s.R1)(y).description),1)])):(0,a.Q3)("",!0),(0,s.R1)(f)?((0,a.uX)(),(0,a.CE)("div",p,[(0,a.Lk)("div",v,(0,o.v_)((0,s.R1)(n.$)((0,s.R1)(f).level)),1),(0,a.Lk)("div",m,(0,o.v_)((0,s.R1)(f).description),1)])):(0,a.Q3)("",!0)])])):(0,a.Q3)("",!0)}}});l.d(t,["A",0,f])},49165(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(2334),i=l(51984),u=l(46807),c=l(5998),d=l(73352),p=l(290);let v={class:"@text-title1-r"},m=(0,a.pM)({__name:"CampaignStatus",props:{post:{}},setup(e){let t=(0,c.f)(),m=(0,d.KR)(!1),f=(0,a.$V)(()=>l.e(9162).then(()=>l(29162))),y=t.getAllCampaignStatuses(),g=(0,a.EW)(()=>{if(e.post.campaign)return y[e.post.campaign.status]});function k(){(0,p.$3)("campaignManagement",e.post.community)&&(m.value=!0)}return(t,l)=>((0,a.uX)(),(0,a.CE)(a.FK,null,[(0,o.R1)(g)?((0,a.uX)(),(0,a.Wv)(i.A,(0,a.v6)({key:0},t.$attrs,{class:["bg-transparent",(0,o.R1)(g).classOnStatusButton],"style-type":"unstyled",inert:!t.$can("campaignManagement",e.post.community),onClick:(0,s.D$)(k,["prevent"])}),{default:(0,a.k6)(()=>[(0,a.bF)(u.A,{src:(0,o.R1)(g).icon,class:"s-5 me-1"},null,8,["src"]),(0,a.Lk)("div",v,(0,n.v_)(t.__((0,o.R1)(g).titleKey)),1)]),_:1},16,["inert","class"])):(0,a.Q3)("",!0),(0,a.bF)(r.A,{modelValue:(0,o.R1)(m),"onUpdate:modelValue":l[1]||(l[1]=e=>(0,o.i9)(m)?m.value=e:null),"no-drag":""},{default:(0,a.k6)(()=>[(0,a.bF)((0,o.R1)(f),{post:e.post,onClose:l[0]||(l[0]=e=>m.value=!1)},null,8,["post"])]),_:1},8,["modelValue"])],64))}});l.d(t,["A",0,m])},69497(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(15846);let r=["innerHTML"],i=(0,a.pM)({__name:"DataGrid",props:{post:{}},setup(e){let t=(0,a.EW)(()=>e.post.dataGrid.data),l=(0,a.EW)(()=>t.value[0].length),i=(0,a.EW)(()=>t.value.length);return(e,u)=>u[0]||((0,a.Vq)(-1,!0),(u[0]=(0,a.Lk)("div",{class:"grid overflow-x-auto scroll-container",style:(0,o.Tr)({gridTemplateColumns:`repeat(${(0,s.R1)(l)}, minmax(max-content, 1fr)`})},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,s.R1)(t),(e,u)=>((0,a.uX)(),(0,a.CE)(a.FK,null,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e,(c,d)=>{var p;return(0,a.uX)(),(0,a.CE)("div",{key:`${e}-${c}`,class:(0,o.C4)(["bg-transparent border-1 border-transparent min-h-10 p-1 w-full @text-title1-r flex-center border-b-grayLight-200/50 border-e-grayLight-200/50",{"border-t-grayLight-200/50":0===u,"border-s-grayLight-200/50":0===d,"rounded-ts-4":0===u&&0===d,"rounded-te-4":0===u&&d===(0,s.R1)(l)-1,"rounded-bs-4":u===(0,s.R1)(i)-1&&0===d,"rounded-be-4":u===(0,s.R1)(i)-1&&d===(0,s.R1)(l)-1}])},[(0,a.Lk)("div",{class:"min-w-96px max-w-200px prosed",innerHTML:(p=(0,s.R1)(t)[u][d],n.W.processTextBlock(p))},null,8,r)],2)}),128))],64))),256))],4)).cacheIndex=0,(0,a.Vq)(1),u[0])}});l.d(t,["A",0,i])},24418(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(75071),r=l(15846),i=l(46807),u=l(59313);let c={class:"px-4 py-2 flex"},d={class:"w-53px flex justify-center shrink-0"},p={class:"grow min-w-0 break-words"},v={class:"@text-title2-s"},m=["innerHTML"],f=["innerHTML"],y=(0,a.pM)({__name:"EditHistoryItem",props:{editedPostHistory:{}},setup(e){let t=(0,a.EW)(()=>r.W.processTextBlock(e.editedPostHistory.text,!1)),l=(0,a.EW)(()=>r.W.processTextBlock(e.editedPostHistory.title,!1)),y=(0,a.EW)(()=>u.$.fromTimestampSeconds(e.editedPostHistory.editedTime).formatTime("hh:mm"));return(e,r)=>((0,a.uX)(),(0,a.CE)("div",c,[(0,a.Lk)("div",d,[(0,a.bF)(i.A,{class:"s-6 text-gray-400",src:n})]),(0,a.Lk)("div",p,[(0,a.Lk)("p",v,(0,o.v_)(e.__("edited-at",[(0,s.R1)(y)])),1),(0,s.R1)(l)?((0,a.uX)(),(0,a.CE)("h2",{key:0,class:"@text-h2 font-size-content mt-2px",innerHTML:(0,s.R1)(l)},null,8,m)):(0,a.Q3)("",!0),(0,s.R1)(t)?((0,a.uX)(),(0,a.CE)("p",{key:1,class:"@text-body font-size-content mt-2px",innerHTML:(0,s.R1)(t)},null,8,f)):(0,a.Q3)("",!0)])]))}});l.d(t,["A",0,y])},9011(e,t,l){l(3362);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(73595),i=l(89750),u=l(91067),c=l(82342),d=l(27422),p=l(46807),v=l(17e3),m=l(5634),f=l(18386),y=l(75732),g=l(12696),k=l(47572),h=l(82142),b=l(41046),x=l(73352),C=l(75850),w=l(79201);let R={class:"s-42px rounded-full flex-center shrink-0 bg-primary-500 me-2 relative"}
1,A={key:0,class:"s-4 rounded-inherit flex-center shrink-0 absolute bottom-0 end-0"},_={class:"flex flex-col min-w-0 grow pe-2"},L={class:"flex items-center text-black font-default @text-title2-m"},E=["dir"],W={class:"truncate"},X={class:"@text-subtitle-2 text-gray-600 dir-ltr"},M=(0,a.pM)({__name:"File",props:{file:{}},setup(e){e.file.checkForNativeURI();let t=(0,a.EW)(()=>e.file.downloadPercent),l=(0,a.EW)(()=>"downloading"===e.file.downloadStatus),M=(0,a.EW)(()=>e.file.downloadable),F=b.M.inAppDownloadSupported(),B=(0,x.KR)(!1);function T(){b.M.downloadMedia(e.file,{preferMediaDownloadProcess:!0}).then(()=>{B.value=!1}).catch(m.wH)}function Q(){e.file.abortDownload()}async function S(t){if(!t.defaultPrevented)return(t.preventDefault(),F&&!M.value)?e.file.openFile():b.M.downloadMedia(e.file,{preferMediaDownloadProcess:!0})}async function z(){await e.file.copyToDownloads(),B.value=!1,(0,C.GY)((0,w.Ay)("saved"),{type:"normal"})}async function D(){let{Share:t}=await (0,h.MU)();await t.share({url:e.file.nativeURI}).catch(k.l)}let P=(0,a.EW)(()=>(0,g.J)(e.file.fileName||"")||void 0);return(m,g)=>((0,a.uX)(),(0,a.CE)("div",{role:"button",class:"text-start bg-primary-500/12 flex items-center w-full h-52px ps-2 min-w-0",onClick:S},[(0,a.Lk)("div",R,[(0,a.bF)(p.A,{src:e.file.documentIcon,class:"s-5"},null,8,["src"]),(0,a.bF)(s.eB,{name:"fade-zoom"},{default:(0,a.k6)(()=>[(0,o.R1)(M)&&(0,o.R1)(F)?((0,a.uX)(),(0,a.CE)("div",A,[(0,o.R1)(l)?((0,a.uX)(),(0,a.Wv)(v.A,{key:0,class:"text-gray-600 cursor-pointer s-4 shrink-0","fix-radius":"",count:(0,o.R1)(t),"max-count":100,radius:6.4,stroke:1.5,onSvgClick:Q},{label:(0,a.k6)(()=>[(0,a.Lk)("button",{type:"button",class:"bg-primary-500 border s-4 rounded-full p-1 flex-center",onClick:(0,s.D$)(Q,["prevent"])},[(0,a.bF)(p.A,{src:r,class:"s-2"})])]),_:1},8,["count"])):100!==(0,o.R1)(t)?((0,a.uX)(),(0,a.CE)("button",{key:1,type:"button",class:"shrink-0 s-4 roun
1ded-full bg-primary-500 border flex-center",onClick:(0,s.D$)(T,["prevent"])},[(0,a.bF)(p.A,{src:i,class:"s-2"})])):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0)]),_:1})]),(0,a.Lk)("div",_,[(0,a.Lk)("div",L,[(0,a.Lk)("div",{dir:(0,o.R1)(P),class:"flex items-center min-w-0"},[(0,a.Lk)("div",W,(0,n.v_)(e.file.fileName),1),(0,a.Lk)("div",null,(0,n.v_)(e.file.extension),1)],8,E),(0,o.R1)(F)?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"ms-auto",onClick:g[1]||(g[1]=(0,s.D$)(()=>{},["prevent"]))},[(0,a.bF)(f.A,{modelValue:(0,o.R1)(B),"onUpdate:modelValue":g[0]||(g[0]=e=>(0,o.i9)(B)?B.value=e:null)},{"active-button":(0,a.k6)(()=>[(0,a.bF)(p.A,{src:u,class:"s-5"})]),default:(0,a.k6)(()=>[(0,o.R1)(M)?((0,a.uX)(),(0,a.Wv)(y.A,{key:0,icon:c,action:T},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(m.__("download")),1)]),_:1})):((0,a.uX)(),(0,a.CE)(a.FK,{key:1},[(0,a.bF)(y.A,{icon:c,action:z},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(m.__("save-in-downloads")),1)]),_:1}),(0,a.bF)(y.A,{icon:d,action:D},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(m.__("share")),1)]),_:1})],64))]),_:1},8,["modelValue"])])):(0,a.Q3)("",!0)]),(0,a.Lk)("span",X,(0,n.v_)(e.file.getSizeString()),1)])]))}});l.d(t,["A",0,M])},53526(e,t,l){var a=l(2435),s=l(69627),o=l(91486),n=l(21820);let r={class:"grid gap-y-2px"},i=(0,a.pM)({__name:"FilesList",props:{post:{},files:{}},setup(e){let t=(0,n.jN)(()=>{var t;return(null==(t=e.post)?void 0:t.getDocuments())||e.files||[]});return(e,l)=>((0,a.uX)(),(0,a.CE)("div",r,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,s.R1)(t),e=>((0,a.uX)(),(0,a.Wv)(o.A,{key:e.key,file:e,class:"first:rounded-t-3 last:rounded-b-3"},null,8,["file"]))),128))]))}});l.d(t,["A",0,i])},3963(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(51984),r=l(79201);let i={key:0,class:"py-1 px-3"},u={class:"bg-gray-100/40 border-1 border-gray-100 rounded-16px py-2 px-4 flex items-center justify-between"},c={class:"@text-body"},d=(0,a.pM)({__name:"HiddenPost",props:{post:{}},emits:["show"],setup(e){let t=(0,a.EW)(()=>e.post.isDeleted?"delete":e.post.user.isBlocked?"block":e.post.user.isMute?"mute":null),l=(0,a.EW)(()=>{switch(t.value){case"block":return(0,r.Ay)("hidden-blocked-account-post");case"mute":return(0,r.Ay)("hidden-muted-account-post");case"delete":return(0,r.Ay)("post-deleted-title");default:return""}});return(e,r)=>(0,s.R1)(t)?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.Lk)("div",u,[(0,a.Lk)("p",c,(0,o.v_)((0,s.R1)(l)),1),"delete"!==(0,s.R1)(t)?((0,a.uX)(),(0,a.Wv)(n.A,{key:0,"style-type":"text",color:"secondary",size:"mini",onClick:r[0]||(r[0]=t=>e.$emit("show"))},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(e.__("view")),1)]),_:1})):(0,a.Q3)("",!0)])])):(0,a.Q3)("",!0)}});l.d(t,["A",0,d])},45219(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(827),r=l(46807),i=l(59313);let u={type:"button",class:"w-53px flex justify-center shrink-0"},c={class:"@text-title2-s grow min-w-0 break-words"},d=(0,a.pM)({__name:"HistorySectionHeader",props:(0,a.zz)({date:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,a.fn)(e,"modelValue"),l=(0,a.EW)(()=>i.$.fromTimestampSeconds(e.date).formatDate("d MM yyyy"));return(e,i)=>((0,a.uX)(),(0,a.CE)("div",{class:"px-4 py-2 flex text-black cursor-pointer items-center",onClick:i[0]||(i[0]=e=>t.value=!t.value)},[(0,a.Lk)("button",u,[(0,a.bF)(r.A,{class:(0,o.C4)(["s-6 rotate-0 transition-transform",{"rotate-180":t.value}]),src:n},null,8,["class"])]),(0,a.Lk)("p",c,(0,o.v_)(e.__("edited-at",[(0,s.R1)(l)])),1)]))}});l.d(t,["A",0,d])},88567(e,t,l){l(23792),l(3362),l(62953);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(68988),i=l(93197),u=l(65872),c=l(46807),d=l(210),p=l(24092),v=l(85634),m=l(79201),f=l(68042),y=l(96566),g=l(47572),k=l(21820),h=l(73352);let b={key:0,class:"relative s-full rounded-3"},x={class:"flex flex-col items-center absolute top-1/2 left-1/2 -translate-50% text-whiteLight dark:text-whiteLight"},C={class:"flex items-center"},w={class:"ms-2 @text-h3-b"},R={class:"mt-1 @text-body"},A={key:1,class:"relative s-full"},_={class:"absolute start-3 top-3 bg-pink-500 rounded-3 m-1 uppercase py-1 px-2 @text-title2-m h-5 flex-center"},L={key:2,class:"relative s-full bg-gray-400/15 rounded-3"},E={class:"flex-center w-full absolute top-1/2 left-1/2 -translate-50% text-whiteLight px-2"},W={class:"ms-2 @text-h3-b"},X={key:1,class:"absolute bottom-3 text-center w-full text-white/70"},M=(0,a.pM)({__name:"Live",props:{post:{}},setup(e){var t;let l=(0,y.D)(),M=(0,a.EW)(()=>e.post.liveStream),F=(0,a.rk)("videoElement"),B=(0,a.EW)(()=>{var t;return null!=(t=e.post.ID)?t:M.value.streamURL});function T(){let e=B.value;e&&f.r.clearIfSame({id:e,type:"video"})}async function Q(){var e;let t=null==(e=F.value)?void 0:e.player,l=B.value;t&&l&&await f.r.requestPlay({id:l,type:"video",play:()=>t.play(),pause:()=>t.pause(),isAlive:()=>{var e;return(null==(e=F.value)?void 0:e.player)===t}})}function S(){T()}let z=(0,k.jN)(()=>M.value.getLiveVideo()),D=(0,a.EW)(()=>{var e;return(null==(e=z.cover)?void 0:e.getLink())||void 0});null==(t=z.cover)||t.load(!0);let P=(0,a.EW)(()=>e.post.isMyPost),$=(0,h.KR)(0),K=(0,h.KR)(!1);function V(){K.value=!0,$.value++}function I(){l.fetchPost({postID:e.post.ID})}return(0,a.sV)(()=>{var t;(null==(t=e.post.liveStream)?void 0:t.status)==="notStarted"&&I()}),(0,a.xo)(()=>{T()}),(e,t)=>((0,a.uX)(),(0,a.CE)("div",{class:"min-w-0 min-h-1!",onClick:t[0]||(t[0]=(0,s.D$)((...e)=>(0,o.R1)(g.l)&&(0,o.R1)(g.l)(...e),["prevent"]))}
1,[(0,a.bF)(v.A,{class:"w-full","aspect-ratio":16/9},{default:(0,a.k6)(()=>["notStarted"===(0,o.R1)(M).status?((0,a.uX)(),(0,a.CE)("div",b,[(0,o.R1)(D)?((0,a.uX)(),(0,a.Wv)(d.A,{key:0,picture:(0,o.R1)(z).cover,class:"absolute s-full rounded-3","image-class":"object-cover"},null,8,["picture"])):(0,a.Q3)("",!0),t[1]||(t[1]=(0,a.Lk)("div",{class:"absolute s-full bg-primary-500/80 inset-0 rounded-3"},null,-1)),(0,a.Lk)("div",x,[(0,a.Lk)("div",C,[(0,a.bF)(c.A,{src:r,class:"s-6"}),(0,a.Lk)("span",w,(0,n.v_)(e.__("livestream-badge")),1)]),(0,a.Lk)("span",R,(0,n.v_)(e.__("not-started")),1)])])):"playing"===(0,o.R1)(M).status?((0,a.uX)(),(0,a.CE)("div",A,[((0,a.uX)(),(0,a.Wv)(p.A,{ref_key:"videoElement",ref:F,key:(0,o.R1)($),"is-live-stream":"",options:{controls:!0,autoplay:(0,o.R1)(K)},video:(0,o.R1)(z),class:"s-full of-hidden rounded-3 live",poster:(0,o.R1)(D),onRetryplaylist:I,onReload:V,onPlay:Q,onPause:S},null,8,["options","video","poster"])),(0,a.Lk)("div",_,[(0,a.bF)(c.A,{src:i,class:"s-4 me-1"}),(0,a.Lk)("span",null,(0,n.v_)(e.__("livestream-badge")),1)])])):((0,a.uX)(),(0,a.CE)("div",L,[(0,o.R1)(D)?((0,a.uX)(),(0,a.Wv)(d.A,{key:0,picture:(0,o.R1)(z).cover,class:"absolute s-full rounded-3","image-class":"object-cover"},null,8,["picture"])):(0,a.Q3)("",!0),t[2]||(t[2]=(0,a.Lk)("div",{class:"absolute s-full bg-blackLight/85 inset-0 rounded-3"},null,-1)),(0,a.Lk)("div",E,[(0,a.bF)(c.A,{src:u,class:"s-6"}),(0,a.bF)((0,o.R1)(m.Uz),{i18n:"terminated",class:"@text-h3-r"},{0:(0,a.k6)(()=>[(0,a.Lk)("span",W,(0,n.v_)(e.__("livestream-badge")),1)]),_:1})]),(0,o.R1)(P)?((0,a.uX)(),(0,a.CE)("p",X,(0,n.v_)(e.__("saved-live-description")),1)):(0,a.Q3)("",!0)]))]),_:1})]))}});l.d(t,["A",0,M])},96672(e,t,l){l.d(t,{A:()=>A}),l(23792),l(18111),l(7588),l(3362),l(62953);var a=l(2435),s=l(46249),o=l(69627),n=l(91842),r=l(51984),i=l(46807),u=l(2334),c=l(7534),d=l(24768),p=l(84975),v=l(90622),m=l(96566),f=l(29303),y=l(88631),g=l(73352),k=l(79201);let h={key:0,class:"fixed inset-0 flex flex-col bg-backdrop z-action-sheet"},b={class:"w-414px max-w-full flex flex-col items-center max-h-90vh"},x={class:"w-full max-h-90vh overflow-auto scroll-container"},C={class:"flex-center w-full px-44px py-4 shrink-0"},w={key:1,class:"grow"},R={key:0,class:"fixed fix-top-2 start-4 bg-gray-100 s-7 flex-center rounded-full z-action-sheet"},A=(0,a.pM)({__name:"ModalPostPreview",props:(0,a.zz)({post:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,m.D)(),A=(0,v.Y2)("image/png"),_=(0,g.KR)(null),L=(0,a.fn)(e,"modelValue"),E=(0,g.KR)(!1),W=(0,g.KR)(!0),X=(0,g.KR)(!0),{isDownloaded:M,markAsDownloaded:F}=(0,y.P)({isOpen:L,post:(0,a.EW)(()=>e.post),reactionsEnabled:W,actionsEnabled:X});t.getScreenshotSettings().then(e=>{var t,l;W.value=null==(t=e.reactions)||t,X.value=null==(l=e.actions)||l}),(0,a.wB)([W,X],([e,l])=>{t.setScreenshotSettings({reactions:e,actions:l})});let{teleportTo:B}=(0,p.h)(L);async function T(t){t.preventDefault();let l=await z();if(l)return(0,v.mv)({blobs:[l],dialogTitle:(0,k.Ay)("post-screenshot"),url:e.post.fullLink})}let Q=(0,a.EW)(()=>M.value?l(52983):l(82342));async function S(e){if(M.value)return;e.preventDefault();let t=await z();t&&(await (0,v.UG)(t.blob,t.name),F())}async function z(){var t;let a;if(!(null!=(t=_.value)&&t.postRef))return;let{domToBlob:s,createContext:o,destroyContext:n}=await l.e(7408).then(()=>l(47408)),r=_.value.postRef;"fonts"in document&&await document.fonts.ready;let i=r.getBoundingClientRect(),u=r.cloneNode(!0),c=u.querySelector("[data-scrollable]");c&&(c.style.overflow="hidden"),u.classList.remove("h-full","w-full"),u.style.width=i.width+"px",u.style.height="auto";let d=document.createElement("div");d.style.position="fixed",d.style.top="0",d.style.left="0",d.style.right="0",d.style.bottom="0",d.style.opacity="0",d.style.pointerEvents="none",d.style.zIndex="-1",d.appendChild(u),document.body.appendChild(d);let p=Math.max(2,Math.ceil(window.devicePixelRatio));try{u.querySelectorAll("video").forEach(e=>{e.remove()}),a=await o(u,{debug:!1,type:"image/png",scale:p,features:{removeControlCharacter:!1}});for(let e=0;e<5;e++)await s(a);let t=await s(a);if(!t)return;let l=`${e.post.user.username||""}_${e.post.ID}.png`;return{blob:t,name:l}}finally{a&&n(a),document.body.removeChild(d)}}function D(){E.value=!0}let P=(0,g.KR)(null),$=(0,g.KR)(null);return(t,p)=>((0,a.uX)(),(0,a.CE)("div",null,[((0,a.uX)(),(0,a.Wv)(a.Im,{to:(0,o.R1)(B)},[(0,a.Lk)("div",null,[(0,a.bF)(s.eB,{name:"fade",appear:""},{default:(0,a.k6)(()=>[L.value?((0,a.uX)(),(0,a.CE)("div",h)):(0,a.Q3)("",!0)]),_:1}),(0,a.bF)(s.eB,{name:"fade",appear:""},{default:(0,a.k6)(()=>[L.value?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"fixed w-full inset-0 z-action-sheet flex flex-col items-center pt-safe-top pb-safe-bottom",onClick:p[4]||(p[4]=e=>L.value=!1)},[p[9]||(p[9]=(0,a.Lk)("div",{class:"grow"},null,-1)),(0,a.Lk)("div",b,[(0,a.Lk)("div",x,[(0,a.bF)(d.Ay,{ref_key:"postPreview",ref:_,post:e.post,"no-reactions":!(0,o.R1)(W),"no-actions":!(0,o.R1)(X),onClick:p[
10]||(p[0]=(0,s.D$)(()=>{},["stop"]))},null,8,["post","no-reactions","no-actions"])]),(0,a.Lk)("div",C,[(0,o.R1)(A)?((0,a.uX)(),(0,a.Wv)(c.A,{key:0,ref_key:"fabShareRef",ref:P,icon:l(27422),action:T,"aria-label":t.__("share"),onClick:p[1]||(p[1]=(0,s.D$)(()=>{},["stop"]))},null,8,["icon","aria-label"])):(0,a.Q3)("",!0),(0,o.R1)(A)?((0,a.uX)(),(0,a.CE)("div",w)):(0,a.Q3)("",!0),(0,a.bF)(c.A,{ref_key:"fabDownloadRef",ref:$,icon:(0,o.R1)(Q),action:S,"aria-label":t.__("download"),onClick:p[2]||(p[2]=(0,s.D$)(()=>{},["stop"]))},null,8,["icon","aria-label"]),(0,a.bF)(c.A,{icon:l(64920),action:D,class:"ms-6","aria-label":t.__("settings"),onClick:p[3]||(p[3]=(0,s.D$)(()=>{},["stop"]))},null,8,["icon","aria-label"])])]),p[10]||(p[10]=(0,a.Lk)("div",{class:"grow"},null,-1))])):(0,a.Q3)("",!0)]),_:1}),L.value?((0,a.uX)(),(0,a.CE)("div",R,[(0,a.bF)(r.A,{"style-type":"unstyled","aria-label":t.__("close"),onClick:p[5]||(p[5]=(0,s.D$)(e=>L.value=!1,["stop"]))},{default:(0,a.k6)(()=>[(0,a.bF)(i.A,{src:n,class:"s-3"})]),_:1},8,["aria-label"])])):(0,a.Q3)("",!0)])],8,["to"])),(0,a.bF)(u.A,{modelValue:(0,o.R1)(E),"onUpdate:modelValue":p[8]||(p[8]=e=>(0,o.i9)(E)?E.value=e:null)},{default:(0,a.k6)(()=>[(0,a.bF)(f.A,{"reactions-enabled":(0,o.R1)(W),"onUpdate:reactionsEnabled":p[6]||(p[6]=e=>(0,o.i9)(W)?W.value=e:null),"actions-enabled":(0,o.R1)(X),"onUpdate:actionsEnabled":p[7]||(p[7]=e=>(0,o.i9)(X)?X.value=e:null)},null,8,["reactions-enabled","actions-enabled"])]),_:1},8,["modelValue"])]))}})},98352(e,t,l){l(3362),l(9391);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(52774),i=l(34999),u=l(59313),c=l(79201),d=l(5634),p=l(51984),v=l(46807),m=l(45532),f=l(64428),y=l(73352),g=l(21820),k=l(29245);let h={key:0,class:"flex flex-col w-full whitespace-pre-wrap"},b={dir:"auto",class:"@text-title2-s text-gray-600 mt-2 break-words justifiable"},x=["onClick"],C={class:"relative flex items-center justify-start w-full ms-2 @text-body text-black min-w-0"},w=["innerHTML"],R={class:"text-black pe-2 relative shrink-0"},A=["innerHTML"],_={class:"@text-subtitle-2 text-gray-600 mt-2"},L=["textContent"],E={class:"mt-3 [.screenshot_&]:hidden"},W={key:1,class:"text-gray-400 flex items-start"},X={class:"@text-body ms-2"},M=(0,a.pM)({__name:"Poll",props:{post:{}},setup(e){let t=(0,c.TH)(),M=(0,y.KR)(!1),F=(0,y.KR)(!1),B=(0,y.KR)(),T=(0,y.KR)("0"),Q=(0,a.EW)(()=>e.post.poll),S=(0,g.AI)(()=>{var e;return M.value||(null==(e=Q.value)?void 0:e.selectedOptionID)!=="0"}),z=(0,a.EW)(()=>{var e;return null==(e=Q.value)?void 0:e.percents}),D=(0,a.EW)(()=>{var e;return null==(e=Q.value)?void 0:e.localizedPercents}),P=(0,a.EW)(()=>{var e;return null==(e=Q.value)?void 0:e.sanitizedPollOptions});function $(e){var t;T.value=e||"0",M.value||((null==(t=Q.value)?void 0:t.selectedOptionID)===e?(0,k.fH)({subtitle:(0,c.Ay)("retract-vote-confirm"),action:()=>K(e),okText:(0,c.Ay)("retract-vote"),type:"secondary",title:(0,c.Ay)("retract-vote"),icon:l(59237)}):K(e))}function K(e){if(e&&Q.value)return F.value=!0,Q.value.vote({optionID:e}).catch(d.wH).finally(()=>{F.value=!1})}return(0,o.jr)(()=>{clearTimeout(B.value)}),(0,a.nT)(()=>{let e=u.$.now(),t=1e3*Q.value.expireTime;B.value&&clearTimeout(B.value),e>t?M.value=!0:t-e<86400&&(B.value=setTimeout(()=>{M.value=!0},t-e))}),(l,u)=>{let c=(0,a.g2)("router-link");return(0,o.R1)(Q)&&(0,o.R1)(P)?((0,a.uX)(),(0,a.CE)("div",h,[(0,a.Lk)("h2",b,(0,n.v_)((0,o.R1)(Q).question),1),(0,o.R1)(S)&&(0,o.R1)(z)&&(0,o.R1)(D)?((0,a.uX)(!0),(0,a.CE)(a.FK,{key:0},(0,a.pI)((0,o.R1)(Q).pollOptions,(e,l)=>((0,a.uX)(),(0,a.CE)("button",{key:e.optionID,type:"button",class:(0,n.C4)(["relative flex items-center justify-between h-10 mt-1 of-hidden",{"pointer-events-none":(0,o.R1)(M)}]),onClick:(0,s.D$)(t=>$(e.optionID),["prevent"])},[(0,a.Lk)("span",{class:"absolute h-full bg-gray-100 rounded-1 shrink-0",style:(0,n.Tr)({width:`${(0,o.R1)(z)[l]}%`})},null,4),(0,a.Lk)("span",C,[(0,a.Lk)("span",{class:"min-w-0 break-words",innerHTML:(0,o.R1)(P)[l]},null,8,w),!function(e){if(Q.value)return e.optionID===Q.value.selectedOptionID}(e)?(0,o.R1)(F)&&(0,o.R1)(T)===e.optionID?((0,a.uX)(),(0,a.Wv)(m.A,{key:1,class:"s-3 ms-1 shrink-0"})):(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(v.A,{key:0,src:r,class:"s-3 ms-1 shrink-0"}))]),(0,a.Lk)("span",R,(0,n.v_)((0,o.R1)(D)[l])+(0,n.v_)((0,o.R1)(t).meta.percent),1)],10,x))),128)):((0,a.uX)(!0),(0,a.CE)(a.FK,{key:1},(0,a.pI)((0,o.R1)(Q).pollOptions,(e,t)=>((0,a.uX)(),(0,a.Wv)(p.A,{key:e.optionID,"style-type":"outlined",class:"mt-1",loading:(0,o.R1)(F)&&(0,o.R1)(T)===e.optionID,onClick:(0,s.D$)(t=>$(e.optionID),["prevent"])},{default:(0,a.k6)(()=>[(0,a.Lk)("span",{innerHTML:(0,o.R1)(P)[t]},null,8,A)]),_:2},1032,["loading","onClick"]))),128)),(0,a.Lk)("div",_,[(0,a.Lk)("span",null,(0,n.v_)(`${(0,o.R1)(Q).totalVotesCount||0} ${l.__("votes")}`),1),u[0]||(u[0]=(0,a.Lk)("span",null,"\xa0 • \xa0",-1)),(0,o.R1)(Q).expireTime&&!(0,o.R1)(M)?((0,a.uX)(),(0,a.Wv)(f.A,{key:0,timestamp:(0,o.R1)(Q).expireTime},null,8,["timestamp"])):(0,o.R1)(M)?((0,a.uX)(),(0,a.CE)("span",{key:1,textContent:(0,n.v_)(l.__("vote-ended"))},null,8,L)):(0,a.Q3)("",!0)]),(0,a.Lk)("div",E,[(0,o.R1)(Q).canSeeVoters?((0,a.uX)(),(0,a.Wv)(c,{key:0,to:e.post.votersLink,class:"text-start w-full text-primary-500 @text-title2-s",rel:"nofollow"},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(l.__("show-voters-list")),1)]),_:1},8,["to"])):((0,a.uX)(),(0,a.CE)("div",W,[(0,a.bF)(v.A,{src:i,class:"s-4 mt-1"}),(0,a.Lk)("span",X,(0,n.v_)("noOne"===(0,o.R1)(Q).whoCanSeeParticipants?l.__("noone-see-voters"):l.__("self-see-voters")),1)]))])])):(0,a.Q3)("",!0)}}});l.d(t,["A",0,M])},51599(e,t,l){l(44114);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(75494),i=l(16223),u=l(45688),c=l(67278),d=l(80489),p=l(56983),v=l(61944),m=l(46807),f=l(93699),y=l(6799),g=l(98204),k=l(52519),h=l(41007),b=l(44771),x=l(92614),C=l(47572),w=l(39809),R=l(3656),A=l(76217),_=l(4956),L=l(45758),E=l(15213),W=l(16773),X=l(3602),M=l(52569),F=l(69386),B=l(75893),T=l(6417),Q=l(69270),S=l(72523),z=l(57373),D=l(51984),P=l(40306),$=l(35011),K=l(73352);let V=["cite"],I=["innerHTML"],H={key:1,class:"flex items-center ms-34px text-gray-600 @text-subtitle-s pt-2"},U=["inert"],O={class:"flex flex-col items-start shrink-0 min-w-9"},q={key:0,class:"h-2 ps-18px"},j={key:0,class:"border-gray-200 border-s-2px w-3 h-full"},N={key:0,class:"flex-center flex-col w-3 h-full relative"},G={key:2,class:"grow border-gray-200 border-s-2px w-3 ms-18px h-full"},Y={class:"ms-2 my-2 text-14px min-w-0 grow"},Z={key:0,class:"flex justify-between items-center w-full"},J={key:0,class:"flex items-center justify-start grow min-w-0"},ee={class:"truncate shrink-0 max-w-full flex items-center"},et={class:"flex-center"},el=["aria-label"],ea={class:"flex justify-between items-center w-full mt-2px"},es={key:1,class:"@text-body text-gray-500 mb-2"},eo={class:"post-contents"}
1,en=["innerHTML"],er=["innerHTML"],ei={class:"ms-1 @text-subtitle-2"},eu={class:"ms-1px @text-subtitle-s text-gray-600"},ec={key:2,class:"mt-3"},ed={key:3,class:"mt-2"},ep={key:5,class:"app-max-w w-full h-180px mt-3"},ev={key:3,class:"flex items-center mt-3"},em={class:"s-7 rounded-full bg-primary-500 flex-center shrink-0"},ef={class:"text-gray-600 ms-2 @text-body"},ey={key:2,class:"flex items-center justify-start text-14px"},eg=(0,a.pM)({__name:"Post",props:{post:{},showBottomLine:{type:Boolean},showTopLine:{type:Boolean},hideThreadLink:{type:Boolean},containerClass:{},isParallelReply:{type:Boolean},isLastPost:{type:Boolean},isReadonly:{type:Boolean},hideUserDeatils:{type:Boolean},accelerated:{type:Boolean}},setup(e){let t=(0,a.$V)(()=>l.e(8575).then(()=>l(50956))),eg=(0,z.N)(),ek=(0,$.rd)(),eh=(0,T.k)(),{getActiveCommunityInstance:eb}=(0,P.r)(),ex=(0,a.EW)(()=>eb()),eC=(0,a.$V)(()=>l.e(9330).then(()=>l(89330))),ew=(0,a.EW)(()=>"repost"===e.post.repostType),eR=(0,a.EW)(()=>ew.value?e.post.rootPost:e.post),eA=(0,a.EW)(()=>ew.value?e.post:null),e_=(0,a.EW)(()=>eR.value.media),eL=(0,a.EW)(()=>eR.value.poll),eE=(0,a.EW)(()=>eR.value.user),eW=(0,a.EW)(()=>eR.value.location),eX=(0,a.EW)(()=>eR.value.cloudMeeting),eM=(0,a.EW)(()=>eR.value.files),eF=(0,a.EW)(()=>eR.value.microblogAudios),eB=(0,a.EW)(()=>"integrated"===eR.value.threadViewMode&&eR.value.threadRootPost?eR.value.threadRootPost:eR.value),eT=(0,a.EW)(()=>eB.value.getReactions()),eQ=(0,a.EW)(()=>eR.value.liveStream),eS=(0,K.KR)(!1),ez=(0,a.EW)(()=>!eS.value&&!e.accelerated&&eR.value.getIsHiddenPost(ek)),eD=(0,a.EW)(()=>eR.value.getSanitizedPostText()),eP=(0,a.EW)(()=>eR.value.hasMedia),e$=(0,a.EW)(()=>eR.value.sanitizedPostTitle),eK=(0,a.EW)(()=>eR.value.opengraph),eV=(0,a.EW)(()=>eR.value.showReplyingTo),eI=(0,a.EW)(()=>eR.value.createRouteLink({router:ek}));function eH(e){if(!e.defaultPrevented){if(e.ctrlKey)return void window.open(eI.value,"_blank");ek.push(eI.value)}}function eU(){eS.value=!0}let eO=(0,a.EW)(()=>!e.hideThreadLink&&eR.value.isThread),eq=(0,a.EW)(()=>eg||eR.value.hasMoreText);return(l,T)=>{var z,P,$,K,eg;let eb=(0,a.g2)("router-link");return(0,a.uX)(),(0,a.CE)("div",null,[(0,o.R1)(eR)&&!(0,o.R1)(ez)?((0,a.uX)(),(0,a.CE)("blockquote",{key:0,class:(0,n.C4)(["n-4jwldv",e.containerClass]),cite:(0,o.R1)(eR).fullLink,onClick:eH},[(0,o.R1)(eA)?((0,a.uX)(),(0,a.Wv)(eb,{key:0,to:(0,o.R1)(eA).user.link,class:"flex items-center ms-34px pt-2 text-gray-600"},{default:(0,a.k6)(()=>[(0,a.bF)(m.A,{src:r,class:"s-4 shrink-0"}),(0,a.Lk)("p",{class:"@text-subtitle-s ms-2 grow min-w-0 truncate",innerHTML:(0,o.R1)(eA).isMyPost?l.__("you-reposted"):l.__("reposted",[(0,o.R1)(eA).user.sanitizedFullName])},null,8,I)]),_:1},8,["to"])):(0,a.Q3)("",!0),l.$slots.header?((0,a.uX)(),(0,a.CE)("div",H,[(0,a.RG)(l.$slots,"header")])):(0,a.Q3)("",!0),(0,a.Lk)("div",{class:"flex",inert:e.isReadonly},[(0,a.Lk)("div",O,[e.hideUserDeatils?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("div",q,[e.showTopLine?((0,a.uX)(),(0,a.CE)("div",j)):(0,a.Q3)("",!0)])),e.hideUserDeatils?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,n.C4)(["flex items-center",{"ms-18px":e.isParallelReply}])},[e.isParallelReply?((0,a.uX)(),(0,a.CE)("div",N,[T[3]||(T[3]=(0,a.Lk)("div",{class:"border-b-2px w-3 flex-center h-1/2 border-s-2px rounded-bs-20px border-gray-200 absolute top-0"},null,-1)),(0,a.Lk)("div",{class:(0,n.C4)(["w-3 h-[calc(50%+12px)] border-s-2px absolute bottom-0",e.isLastPost?"border-transparent":"border-gray-200"])},null,2)])):(0,a.Q3)("",!0),(0,o.R1)(eE)?((0,a.uX)(),(0,a.Wv)(f.A,{key:1,user:(0,o.R1)(eE),size:"xmedium","show-cloud-meeting":"","show-authentication-status":"",onClick:T[0]||(T[0]=(0,s.D$)(()=>{},["prevent"]))},null,8,["user"])):(0,a.Q3)("",!0)],2)),e.showBottomLine||(0,o.R1)(eO)?((0,a.uX)(),(0,a.CE)("div",G)):(0,a.Q3)("",!0)]),(0,a.Lk)("div",Y,[e.hideUserDeatils?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("div",Z,[(0,o.R1)(eE)?((0,a.uX)(),(0,a.CE)("div",J,[(0,a.Lk)("div",ee,[(0,a.bF)(R.A,{class:"text-black @text-title2-s grow min-w-0 truncate",user:(0,o.R1)(eE)},null,8,["user"]),(0,a.bF)(E.A,{user:(0,o.R1)(eE),class:"s-4 shrink-0 ms-1"},null,8,["user"])])])):(0,a.Q3)("",!0),(0,a.Lk)("div",et,[(0,o.R1)(eR).questionsCount&&null!=(z=(0,o.R1)(eR).community)&&z.isCurrentUserOwnerOrModerator?((0,a.uX)(),(0,a.Wv)(eb,{key:0,to:null!=(P=(0,o.R1)(ex))&&P.canAccessToQuestions&&(0,o.R1)(eR).community.canWrite?(0,o.R1)(eR).questionsLink:(0,o.R1)(eI)},{default:(0,a.k6)(()=>[(0,a.bF)(m.A,{"aria-label":l.__("questions"),src:i,class:"s-4 text-gray-600 me-1"},null,8,["aria-label"])]),_:1},8,["to"])):(0,a.Q3)("",!0),(0,o.R1)(eR).exercisesCount&&null!=($=(0,o.R1)(eR).community)&&$.isCurrentUserOwnerOrModerator?((0,a.uX)(),(0,a.Wv)(m.A,{key:1,"aria-label":l.__("exercise"),src:u,class:"s-4 text-gray-600 me-1"},null,8,["aria-label"])):(0,a.Q3)("",!0),(0,o.R1)(eh).isLogin?((0,a.uX)(),(0,a.CE)("button",{key:2,type:"button","aria-label":l.__("menu"),class:"s-4 shrink-0 text-gray-400",onClick:T[1]||(T[1]=e=>(0,o.R1)(A.xY)(e,(0,o.R1)(eR),"feed"))},[(0,a.bF)(m.A,{src:c})],8,el)):(0,a.Q3)("",!0)])])),(0,a.Lk)("div",ea,[e.hideUserDeatils?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(y.A,{key:0,user:(0,o.R1)(eE),class:"@text-body text-gray-600 truncate"},null,8,["user"])),(0,a.bF)(x.A,{timestamp:(0,o.R1)(eR).createdTime,class:"ms-2px shrink-0 text-gray-600"},null,8,["timestamp"])]),(0,o.R1)(eV)?((0,a.uX)(),(0,a.CE)("div",es,[(0,a.bF)(h.A,{post:(0,o.R1)(eR)},null,8,["post"])])):(0,a.Q3)("",!0),(0,o.R1)(eR).hasFactType?((0,a.uX)(),(0,a.Wv)(M.A,{key:2,post:(0,o.R1)(eR)},null,8,["post"])):(0,a.Q3)("",!0),(0,a.Lk)("div",eo,[(0,a.Lk)("div",null,[(0,o.R1)(eR).title?((0,a.uX)(),(0,a.CE)("h3",{key:0,class:"n-9b3my5 text-selection-lines",
1innerHTML:(0,o.R1)(e$)},null,8,en)):(0,a.Q3)("",!0),(0,o.R1)(eR).text?((0,a.uX)(),(0,a.CE)("span",{key:1,class:"n-4frv55 text-selection-lines",innerHTML:(0,o.R1)(eD)},null,8,er)):(0,a.Q3)("",!0),(0,o.R1)(eq)?((0,a.uX)(),(0,a.Wv)(D.A,{key:2,"style-type":"tonal",size:"mini",class:"inline-flex px-2 mt-2 me-2",link:(0,o.R1)(eR).createRouteLink()},{default:(0,a.k6)(()=>[(0,a.bF)(m.A,{src:d,class:"s-4"}),(0,a.Lk)("span",ei,(0,n.v_)(l.__("show-more")),1)]),_:1},8,["link"])):(0,a.Q3)("",!0),l.$can("seePostEditHistory",(0,o.R1)(eR).community)&&(0,o.R1)(eR).editedTime&&"post-edit-history"!==(0,o.R1)(ek).currentRoute.value.name?((0,a.uX)(),(0,a.CE)("button",{key:3,type:"button",class:"inline-flex items-center text-gray-600 bg-grayLight-50 dark:bg-whiteLight/15 px-6px py-1 mt-2 rounded-full",onClick:T[2]||(T[2]=(0,s.D$)(e=>void ek.push(eR.value.editHistoryLink),["prevent"]))},[(0,a.bF)(m.A,{src:p,class:"s-4 shrink-0"}),(0,a.Lk)("p",eu,(0,n.v_)(l.__("history")),1)])):(0,a.Q3)("",!0)]),(0,o.R1)(eX)?((0,a.uX)(),(0,a.Wv)((0,o.R1)(t),{key:0,meeting:(0,o.R1)(eX),class:"mt-3 cursor-default",onClick:(0,s.D$)((0,o.R1)(C.l),["prevent"])},null,8,["meeting","onClick"])):(0,a.Q3)("",!0),(0,o.R1)(eK)?((0,a.uX)(),(0,a.Wv)(w.A,{key:1,class:"mt-3","open-graph":(0,o.R1)(eK),onClick:(0,s.D$)((0,o.R1)(C.l),["prevent"])},null,8,["open-graph","onClick"])):(0,a.Q3)("",!0),null!=(K=(0,o.R1)(e_))&&K.length?((0,a.uX)(),(0,a.CE)("div",ec,[(0,a.bF)(W.A,{post:(0,o.R1)(eR),"show-all":!1,"scroll-container-class":"slide-ps-slide-start slide-pe-post-padding-x"},null,8,["post"])])):(0,a.Q3)("",!0),(0,o.R1)(eM).length?((0,a.uX)(),(0,a.CE)("div",ed,[(0,a.bF)(B.A,{post:(0,o.R1)(eR)},null,8,["post"])])):(0,a.Q3)("",!0),(0,o.R1)(eF)?((0,a.uX)(),(0,a.Wv)(Q.A,{key:4,class:"mt-3",audios:(0,o.R1)(eF)},null,8,["audios"])):(0,a.Q3)("",!0),(0,o.R1)(eW)?((0,a.uX)(),(0,a.CE)("div",ep,[(0,a.bF)((0,o.R1)(eC),{class:"rounded-20px","default-location":(0,o.R1)(eW),onClick:(0,s.D$)((0,o.R1)(C.l),["prevent"])},null,8,["default-location","onClick"])])):(0,a.Q3)("",!0),"repostQuote"===(0,o.R1)(eR).repostType&&(0,o.R1)(eR).rootPost?((0,a.uX)(),(0,a.Wv)(g.A,{key:6,class:"mt-3",post:(0,o.R1)(eR).rootPost,onClick:(0,s.D$)((0,o.R1)(C.l),["prevent"])},null,8,["post","onClick"])):(0,a.Q3)("",!0),(0,o.R1)(eL)?((0,a.uX)(),(0,a.Wv)(b.A,{key:7,class:"mt-3",post:(0,o.R1)(eR)},null,8,["post"])):(0,a.Q3)("",!0),(0,o.R1)(eQ)&&!(0,o.R1)(eP)?((0,a.uX)(),(0,a.Wv)(F.A,{key:8,class:"mt-3",post:(0,o.R1)(eR)},null,8,["post"])):(0,a.Q3)("",!0),(0,o.R1)(eR).campaign?((0,a.uX)(),(0,a.Wv)(X.A,{key:9,post:(0,o.R1)(eR),class:"mt-2"},null,8,["post"])):(0,a.Q3)("",!0)]),"all"!==(0,o.R1)(eR).replyPolicy&&(0,o.R1)(eR).canReplyByPolicy?((0,a.uX)(),(0,a.CE)("div",ev,[(0,a.Lk)("span",em,[(0,a.bF)(m.A,{src:v,class:"s-4"})]),(0,a.Lk)("p",ef,(0,n.v_)(l.__("you-can-reply-to-this-conversation")),1)])):(0,a.Q3)("",!0),(0,a.bF)(k.A,{post:(0,o.R1)(eB)},null,8,["post"]),(0,o.R1)(!0)&&null!=(eg=(0,o.R1)(eT))&&eg.length?(0,a.bo)(((0,a.uX)(),(0,a.Wv)(_.A,{key:4,reactions:(0,o.R1)(eT),post:(0,o.R1)(eR)},null,8,["reactions","post"])),[[(0,o.R1)(S.A),void 0,void 0,{x:!0}]]):(0,a.Q3)("",!0)])],8,U),(0,o.R1)(eO)?((0,a.uX)(),(0,a.CE)("div",ey,[(0,o.R1)(eE)?((0,a.uX)(),(0,a.Wv)(f.A,{key:0,user:(0,o.R1)(eE),size:"normal",class:"me-22px ms-5px pb-2"},null,8,["user"])):(0,a.Q3)("",!0),(0,a.bF)(eb,{class:"@text-body grow pb-2 flex items-center self-stretch text-primary-500",to:(0,o.R1)(eR).createRouteLink()},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(l.__("show-this-thread")),1)]),_:1},8,["to"])])):(0,a.Q3)("",!0)],10,V)):(0,o.R1)(ez)?((0,a.uX)(),(0,a.Wv)(L.A,{key:1,post:(0,o.R1)(eR),onShow:eU},null,8,["post"])):(0,a.Q3)("",!0)])}}});l.d(t,["A",0,eg])},67324(e,t,l){l.d(t,{A:()=>v});var a=l(2435),s=l(69627),o=l(14643),n=l(27846),r=l(67261),i=l(15699),u=l(9094),c=l(8899),d=l(290);let p={class:"n-2ufdi9"},v=(0,a.pM)({__name:"PostActions",props:{post:{},iconClass:{}},setup(e){let t=(0,a.EW)(()=>e.post.canRepost||(0,d.$3)("repostQuote",e.post.community));return(l,d)=>((0,a.uX)(),(0,a.CE)("div",p,[(0,a.bF)(n.A,{"summarize-above1k":"",class:"basis-0 grow",post:e.post,"icon-class":e.iconClass},null,8,["post","icon-class"]),(0,a.bF)(i.A,{class:"basis-0 grow","summarize-above1k":"",post:e.post,"icon-class":e.iconClass},null,8,["post","icon-class"]),(0,a.bF)(u.A,{class:(0,o.C4)([{"opacity-50":!(0,s.R1)(t)},"basis-0 grow"]),"summarize-above1k":"",post:e.post,"icon-class":e.iconClass},null,8,["class","post","icon-class"]),(0,a.bF)(c.A,{class:"basis-0 grow","summarize-above1k":"",post:e.post,"icon-class":e.iconClass},null,8,["post","icon-class"]),(0,a.bF)(r.A,{post:e.post,"icon-class":e.iconClass},null,8,["post","icon-class"])]))}})},86170(e,t,l){l.d(t,{A:()=>X});var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(80489),i=l(47572),u=l(65709),c=l(39809),d=l(98204),p=l(44771),v=l(16773),m=l(69386),f=l(3602),y=l(99432),g=l(75893),k=l(52569),h=l(69270),b=l(46807),x=l(51984),C=l(78784),w=l(290);let R={class:"pt-1"},A=["innerHTML"],_=["innerHTML"],L=["innerHTML"],E={class:"ms-1 @text-subtitle-2"},W={key:11,class:"app-max-w w-full h-70 mt-3"},X=(0,a.pM)({__name:"PostContent",props:{post:{},noTranslate:{type:Boolean},noQuote:{type:Boolean},scrollContainerClass:{},textClass:{},summarizeText:{type:Boolean}},setup(e){let t=(0,a.$V)(()=>l.e(956).then(()=>l(50956))),X=(0,a.$V)(()=>l.e(9330).then(()=>l(89330))),M=(0,a.EW)(()=>e.post.poll),F=(0,a.EW)(()=>e.post.location),B=(0,a.EW)(()=>e.post.getSanitizedTranslationOrText(!e.summarizeText)),T=(0,a.EW)(()=>e.post.sanitizedPostTitle),Q=(0,a.EW)(()=>e.post.opengraph),S=(0,a.EW)(()=>e.post.liveStream),z=(0,a.EW)(()=>e.post.hasMedia),D=(0,a.EW)(()=>e.post.cloudMeeting),P=(0,a.EW)(()=>e.post.files),$=(0,a.EW)(()=>e.post.microblogAudios),K=(0,a.EW)(()=>e.post.question),V=(0,a.EW)(()=>!!e.summarizeText&&!!e.post.hasMoreText&&!(e.post.isTextOnly&&(0,w.$3)("testingNewFeatures")));return(l,w)=>((0,a.uX)(),(0,a.CE)("div",R,[e.post.hasFactType?((0,a.uX)(),(0,a.Wv)(k.A,{key:0,post:e.post,class:"my-2"},null,8,["post"])):(0,a.Q3)("",!0),e.post.title&&e.post.isThreadRoot?((0,a.uX)(),(0,a.CE)("h1",{key:1,class:"n-3etg02 text-selection-lines",
1innerHTML:(0,o.R1)(T)},null,8,A)):e.post.title&&!e.post.isThreadRoot?((0,a.uX)(),(0,a.CE)("h2",{key:2,class:"n-3etg02 text-selection-lines",innerHTML:(0,o.R1)(T)},null,8,_)):(0,a.Q3)("",!0),e.post.hasText?((0,a.uX)(),(0,a.CE)("div",{key:3,class:(0,n.C4)(["n-ed6yq9 text-selection-lines",e.textClass]),innerHTML:(0,o.R1)(B)},null,10,L)):(0,a.Q3)("",!0),(0,o.R1)(V)?((0,a.uX)(),(0,a.Wv)(x.A,{key:4,"style-type":"tonal",size:"mini",class:"inline-flex px-2 mt-2",link:e.post.createRouteLink()},{default:(0,a.k6)(()=>[(0,a.bF)(b.A,{src:r,class:"s-4"}),(0,a.Lk)("span",E,(0,n.v_)(l.__("show-more")),1)]),_:1},8,["link"])):(0,a.Q3)("",!0),!e.noTranslate&&e.post.canTranslate?((0,a.uX)(),(0,a.Wv)(u.A,{key:5,subject:e.post,class:"mt-2"},null,8,["subject"])):(0,a.Q3)("",!0),(0,o.R1)(D)?((0,a.uX)(),(0,a.Wv)((0,o.R1)(t),{key:6,meeting:(0,o.R1)(D),class:"mt-3 cursor-default",onClick:(0,s.D$)((0,o.R1)(i.l),["prevent"])},null,8,["meeting","onClick"])):(0,a.Q3)("",!0),(0,o.R1)(Q)?((0,a.uX)(),(0,a.Wv)(c.A,{key:7,class:"mt-3","open-graph":(0,o.R1)(Q),onClick:(0,s.D$)((0,o.R1)(i.l),["prevent"])},null,8,["open-graph","onClick"])):(0,a.Q3)("",!0),(0,o.R1)(z)?((0,a.uX)(),(0,a.Wv)(v.A,{key:8,class:"mt-3",post:e.post,"scroll-container-class":e.scrollContainerClass,"show-all":"","ignore-margin-top":""},null,8,["post","scroll-container-class"])):(0,a.Q3)("",!0),(0,o.R1)(P).length?((0,a.uX)(),(0,a.Wv)(g.A,{key:9,post:e.post,class:"mt-3"},null,8,["post"])):(0,a.Q3)("",!0),(0,o.R1)($)?((0,a.uX)(),(0,a.Wv)(h.A,{key:10,class:"mt-3",audios:(0,o.R1)($)},null,8,["audios"])):(0,a.Q3)("",!0),(0,o.R1)(F)?((0,a.uX)(),(0,a.CE)("div",W,[(0,a.bF)((0,o.R1)(X),{class:"rounded-20px","default-location":(0,o.R1)(F),onClick:(0,s.D$)((0,o.R1)(i.l),["prevent"])},null,8,["default-location","onClick"])])):(0,a.Q3)("",!0),(0,o.R1)(M)?((0,a.uX)(),(0,a.Wv)(p.A,{key:12,post:e.post,class:"mt-3"},null,8,["post"])):(0,a.Q3)("",!0),(0,o.R1)(S)&&!(0,o.R1)(z)?((0,a.uX)(),(0,a.Wv)(m.A,{key:13,post:e.post,class:"mt-3"},null,8,["post"])):(0,a.Q3)("",!0),e.post.campaign?((0,a.uX)(),(0,a.Wv)(f.A,{key:14,post:e.post,class:"mt-2 select-text","display-process-bar":""},null,8,["post"])):(0,a.Q3)("",!0),e.post.dataGrid?((0,a.uX)(),(0,a.Wv)(y.A,{key:15,post:e.post,class:"mt-3 select-text"},null,8,["post"])):(0,a.Q3)("",!0),(0,o.R1)(K)?((0,a.uX)(),(0,a.Wv)(C.A,{key:16,question:(0,o.R1)(K),class:"mt-3"},null,8,["question"])):(0,a.Q3)("",!0),"repostQuote"===e.post.repostType&&e.post.rootPost&&!e.noQuote?((0,a.uX)(),(0,a.Wv)(d.A,{key:17,class:"mt-3",post:e.post.rootPost},null,8,["post"])):(0,a.Q3)("",!0)]))}})},35217(e,t,l){l(44114);var a=l(2435),s=l(69627),o=l(14643),n=l(56983),r=l(46807),i=l(76245),u=l(2334),c=l(35011),d=l(73352);let p={class:"flex items-center justify-between mt-2"},v={class:"text-gray-600 @text-body ws-nowrap"},m={class:"ms-1px @text-subtitle-s text-gray-600"},f={class:"@text-subtitle-s text-gray-600"},y=(0,a.pM)({__name:"PostDetailFooter",props:{post:{}},setup(e){let t=(0,c.rd)(),l=(0,d.KR)(!1),y=(0,a.EW)(()=>e.post.getCreatedTimeString());return(c,d)=>((0,a.uX)(),(0,a.CE)(a.FK,null,[(0,a.Lk)("div",p,[(0,a.Lk)("span",v,(0,o.v_)((0,s.R1)(y)),1),c.$can("managePostRatingScore",e.post.community)?((0,a.uX)(),(0,a.CE)("button",{key:0,type:"button",class:"[.screenshot_&]:hidden inline-flex items-center text-gray-600 bg-grayLight-50 dark:bg-whiteLight/15 px-6px py-1 rounded-full",onClick:d[0]||(d[0]=e=>l.value=!0)},[(0,a.Lk)("p",m,(0,o.v_)(c.__("rating-x",[e.post.ratingScore])),1)])):(0,a.Q3)("",!0),c.$can("seePostEditHistory",e.post.community)&&e.post.editedTime?((0,a.uX)(),(0,a.CE)("button",{key:1,type:"button",class:"inline-flex items-center text-gray-600",onClick:d[1]||(d[1]=l=>void t.push(e.post.editHistoryLink))},[(0,a.bF)(r.A,{src:n,class:"s-4 shrink-0"}),(0,a.Lk)("p",f,(0,o.v_)(c.__("history")),1)])):(0,a.Q3)("",!0)]),(0,a.bF)(u.A,{modelValue:(0,s.R1)(l),"onUpdate:modelValue":d[3]||(d[3]=e=>(0,s.i9)(l)?l.value=e:null)},{default:(0,a.k6)(()=>[(0,a.bF)(i.A,{post:e.post,onClose:d[2]||(d[2]=e=>l.value=!1)},null,8,["post"])]),_:1},8,["modelValue"])],64))}});l.d(t,["A",0,y])},60925(e,t,l){var a=l(2435),s=l(69627),o=l(67278),n=l(76217),r=l(93699),i=l(3656),u=l(15213),c=l(6799),d=l(46807),p=l(6417),v=l(90780);let m={class:"flex items-start"},f={class:"flex flex-col w-9"},y={class:"h-2 ms-18px"},g={key:0,class:"bg-gray-200 w-2px h-full"},k={class:"mt-2 ms-2 grow min-w-0 flex flex-col"},h={class:"flex items-center"},b=["aria-label"],x=(0,a.pM)({__name:"PostDetailUserInfo",props:{post:{},showTopLine:{type:Boolean},hideFollowButton:{type:Boolean}},setup(e){let t=(0,p.k)(),l=(0,a.EW)(()=>!!t.isLogin&&!e.hideFollowButton&&!!e.post.user&&!e.post.user.isUnknown&&!e.post.isMyPost&&!e.post.user.isFollowing);return(t,p)=>((0,a.uX)(),(0,a.CE)("div",m,[(0,a.Lk)("div",f,[(0,a.Lk)("div",y,[e.showTopLine?((0,a.uX)(),(0,a.CE)("div",g)):(0,a.Q3)("",!0)]),(0,a.bF)(r.A,{size:"xmedium","show-cloud-meeting":"","show-authentication-status":"",user:e.post.user},null,8,["user"])]),(0,a.Lk)("div",k,[(0,a.Lk)("div",h,[(0,a.bF)(i.A,{user:e.post.user,class:"@text-title2-s truncate text-start"},null,8,["user"]),(0,a.bF)(u.A,{user:e.post.user,class:"s-4 shrink-0 mx-1"},null,8,["user"])]),(0,a.bF)(c.A,{class:"text-gray-600 @text-body text-start grow min-w-0 truncate",user:e.post.user},null,8,["user"])]),(0,s.R1)(l)?((0,a.uX)(),(0,a.Wv)(v.A,{key:0,class:"mx-1 mt-1 whitespace-nowrap",user:e.post.user,"follow-back":""},null,8,["user"])):(0,a.Q3)("",!0),(0,a.Lk)("button",{type:"button",class:"s-4 shrink-0 mt-2 [.screenshot_&]:hidden","aria-label":t.__("menu"),onClick:p[
10]||(p[0]=t=>(0,s.R1)(n.xY)(t,e.post,"detail"))},[(0,a.bF)(d.A,{src:o})],8,b)]))}});l.d(t,["A",0,x])},21130(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(46807);let r={class:"@text-subtitle-s ms-1 truncate min-w-0 grow"},i={fake:{textClass:"text-error-500",icon:l(55300),descriptionKey:"fake-post"},fact:{textClass:"text-success-500",icon:l(52983),descriptionKey:"fact-post"},semiAccurate:{textClass:"text-warning-500",icon:l(20739),descriptionKey:"half-right-description"},misleading:{textClass:"text-purple",icon:l(2180),descriptionKey:"misleading-description"},pending:{textClass:"text-yellow",icon:l(76717),descriptionKey:"pending-description"},"well-foundedNews":{textClass:"text-primary-500",icon:l(57376),descriptionKey:"well-founded-description"},rootNews:{textClass:"text-success-500",iconClass:"text-error-500",icon:l(82161),descriptionKey:"fact-post"},inappropriateSpeech:{textClass:"text-warning-500",icon:l(42047),descriptionKey:"inappropriateSpeech-post"},unsure:{textClass:"",descriptionKey:"",icon:""}},u=(0,a.pM)({__name:"PostValidityBadge",props:{post:{}},setup(e){let t=(0,a.EW)(()=>e.post.factType);return(e,l)=>((0,a.uX)(),(0,a.CE)("div",{class:(0,o.C4)([i[(0,s.R1)(t)].textClass,"flex items-center min-w-0"])},[(0,a.bF)(n.A,{src:i[(0,s.R1)(t)].icon,class:(0,o.C4)(["s-4 inline-block align-middle shrink-0",i[(0,s.R1)(t)].iconClass])},null,8,["src","class"]),(0,a.Lk)("span",r,(0,o.v_)(e.__(i[(0,s.R1)(t)].descriptionKey)),1)],2))}});l.d(t,["A",0,u])},4645(e,t,l){var a=l(2435),s=l(14643),o=l(52983),n=l(46807);let r={key:0,class:"grid gap-y-10px"},i={class:"mt-4 inline-flex items-center rounded-52px bg-primaryLight-50 dark:bg-primaryDark-
150 ps-9px pe-6px py-1"},u={class:"text-primary-500 @text-body"},c={class:"rounded-5 bg-primary-500 h-5 min-w-5 flex-center px-6px @text-title2-s ms-6px"},d=(0,a.pM)({__name:"Question",props:{question:{}},setup:e=>(t,l)=>((0,a.uX)(),(0,a.CE)("div",null,["MCQ"===e.question.type?((0,a.uX)(),(0,a.CE)("div",r,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.question.options,(t,l)=>((0,a.uX)(),(0,a.CE)("div",{key:t.ID,class:(0,s.C4)(["flex items-center rounded-14px py-1",{"[background:linear-gradient(270deg,transparent_10.67%,#E2F5EC_100%)] dark:[background:linear-gradient(270deg,transparent_10.67%,#293333_100%)]":l===e.question.correctOptionIndex}])},[(0,a.Lk)("span",{class:(0,s.C4)(["rounded-full s-5 flex-center @text-body",l===e.question.correctOptionIndex?"bg-success-50 text-success-500":"bg-gray-100"])},(0,s.v_)(l+1),3),(0,a.Lk)("span",{class:(0,s.C4)([l===e.question.correctOptionIndex?"@text-title1-m text-success-500":"@text-title1-r","grow min-w-0 truncate ms-6px"])},(0,s.v_)(t.title),3),l===e.question.correctOptionIndex?((0,a.uX)(),(0,a.Wv)(n.A,{key:0,class:"s-18px shrink-0 ms-10px me-9px text-success-500",src:o})):(0,a.Q3)("",!0)],2))),128))])):(0,a.Q3)("",!0),(0,a.Lk)("div",i,[(0,a.Lk)("span",u,(0,s.v_)(t.__("question-score")),1),(0,a.Lk)("span",c,(0,s.v_)(e.question.point),1)])]))});l.d(t,["A",0,d])},57357(e,t,l){l.d(t,{A:()=>w}),l(44114);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(93699),i=l(6799),u=l(92614),c=l(3656),d=l(41007),p=l(45758),v=l(15213),m=l(70093),f=l(35011),y=l(73352),g=l(290);let k=["cite"],h={key:0,class:"flex items-center min-w-0 px-2 pb-1"},b={class:"ms-1 @text-body truncate min-w-0 basis-0 grow text-gray-600"},x={key:2,class:"@text-body mx-2 pb-1 text-primary-500"},C={key:3,class:"absolute bottom-0 rounded-inherit inset-x-0 h-69px [background:linear-gradient(180deg,transparent_0%,#FFFFFF_100%)] dark:[background:linear-gradient(180deg,transparent_0%,#16202A_100%)]"},w=(0,a.pM)({__name:"Quote",props:{post:{},hideShowThisThread:{type:Boolean},noClick:{type:Boolean}},setup(e){let t=(0,f.rd)(),l=(0,a.EW)(()=>e.post.user),w=(0,a.EW)(()=>{var t;return e.post.isReply&&(null==(t=e.post.implicitMentions)?void 0:t.length)&&!e.post.isThread}),R=(0,y.KR)(!1),A=(0,a.EW)(()=>!R.value&&e.post.getIsHiddenPost(t)),_=(0,a.EW)(()=>!!e.post.hasMoreText&&!!e.post.isTextOnly&&!!(0,g.$3)("testingNewFeatures"));function L(l){if(e.noClick||l.defaultPrevented)return;let a=e.post.createRouteLink({router:t});l.ctrlKey?window.open(a,"_blank"):t.push(a)}function E(){R.value=!0}return(t,f)=>(0,o.R1)(A)?((0,a.uX)(),(0,a.Wv)(p.A,{key:0,post:e.post,onShow:E},null,8,["post"])):((0,a.uX)(),(0,a.CE)("blockquote",{key:1,class:(0,n.C4)(["w-full me-4 rounded-12px border-1 border-gray-100 pt-2 [text-align:inherit] relative",{clickable:!e.noClick}]),cite:e.post.fullLink,onClick:L},[(0,o.R1)(l)?((0,a.uX)(),(0,a.CE)("div",h,[(0,a.bF)(r.A,{class:"shrink-0",size:"small",user:(0,o.R1)(l),onClick:f[0]||(f[0]=(0,s.D$)(()=>{},["prevent"]))},null,8,["user"]),(0,a.bF)(c.A,{user:(0,o.R1)(l),class:"@text-title2-s ms-1 min-w-0 truncate text-black"},null,8,["user"]),(0,a.bF)(v.A,{user:(0,o.R1)(l),class:"s-4 ms-1 shrink-0"},null,8,["user"]),(0,a.Lk)("p",b,[(0,a.bF)(i.A,{user:(0,o.R1)(l)},null,8,["user"]),f[1]||(f[1]=(0,a.eW)("\xa0 • \xa0",-1)),(0,a.bF)(u.A,{timestamp:e.post.createdTime},null,8,["timestamp"])])])):(0,a.Q3)("",!0),(0,o.R1)(w)?((0,a.uX)(),(0,a.Wv)(d.A,{key:1,class:"text-gray-600 @text-subtitle-2 px-2 mb-1",post:e.post},null,8,["post"])):(0,a.Q3)("",!0),(0,a.bF)(m.A,{class:"p-2",post:e.post,"text-class":"@text-body","scroll-container-class":"slide-ps-2 slide-pe-2","summarize-text":"","no-translate":"","no-quote":""},null,8,["post"]),e.post.isThread&&!e.hideShowThisThread?((0,a.uX)(),(0,a.CE)("p",x,(0,n.v_)(t.__("show-this-thread")),1)):(0,a.Q3)("",!0),(0,o.R1)(_)?((0,a.uX)(),(0,a.CE)("div",C)):(0,a.Q3)("",!0)],10,k))}})},91217(e,t,l){l.d(t,{A:()=>u});var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(16819),i=l(99790);let u=(0,a.pM)({__name:"ReactionsList",props:{reactions:{},post:{},forceMultiline:{type:Boolean}},setup(e){let t=(0,a.EW)(()=>e.post.postReactions.userReaction),l=(0,a.EW)(()=>!(0,i.qw)()||e.forceMultiline);return(i,u)=>((0,a.uX)(),(0,a.Wv)(s.F,{name:"fade-absolute",class:(0,n.C4)(["n-hos1e2 hide-scrollbar",(0,o.R1)(l)?"flex-wrap me-0":"-ms-slide-start -me-post-padding-x ps-slide-start after:content-zwnj after:ps-post-padding-x"]),tag:"div"},{default:(0,a.k6)(()=>[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.reactions,l=>((0,a.uX)(),(0,a.Wv)(r.A,{key:l.reaction,reaction:l,"is-selected":l.reaction===(0,o.R1)(t),post:e.post,class:"m-1 shrink-0"},null,8,["reaction","is-selected","post"]))),128))]),_:1},8,["class"]))}})},46168(e,t,l){l(44114),l(3362);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(70203),i=l(46807),u=l(78239),c=l(67557),d=l(2334),p=l(35011),v=l(73352),m=l(290);let f=["aria-label"],y={key:0,class:"@text-subtitle-2"},g=(0,a.pM)({__name:"ReplyIcon",props:{post:{},iconClass:{},noCount:{type:Boolean},summarizeAbove1k:{type:Boolean}},setup(e){let t=(0,p.rd)(),l=(0,v.KR)(!1),g=(0,a.EW)(()=>e.summarizeAbove1k?e.post.repliesCountStringAbove1K:e.post.repliesCountString),k=(0,a.EW)(()=>!!e.post.canReplyByPolicy&&"question"!==t.currentRoute.value.meta.scopeContentType&&(0,m.$3)("reply",e.post.community));async function h(){await (0,u.z)(),k.value?t.push(e.post.composeReplyLink):l.value=!0}return(t,u)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("button",{type:"button",class:(0,n.C4)(["n-uvirlm",[e.iconClass,{disabled:!(0,o.R1)(k)}]]),"aria-label":t.__("reply"),onClick:(0,s.D$)(h,["prevent"])},[(0,a.bF)(i.A,{src:r,class:"n-59054e"}),e.noCount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",y,(0,n.v_)((0,o.R1)(g)),1))],10,f),e.post.canReplyByPolicy?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(d.A,{key:0,modelValue:(0,o.R1)(l),"onUpdate:modelValue":u[0]||(u[0]=e=>(0,o.i9)(l)?l.value=e:null)},{default:(0,a.k6)(()=>[(0,a.bF)(c.A,{post:e.post},null,8,["post"])]),_:1},8,["modelValue"]))]))}});l.d(t,["A",0,g])},57184(e,t,l){l(23792),l(62953);var a=l(2435),s=l(69627),o=l(2334),n=l(82860),r=l(38882),i=l(73352);let u={class:"n-4jmi3b"},c={class:"max-w-full"},d=(0,a.pM)({__name:"ReplyingTo",props:{post:{}},setup(e){let t=(0,i.KR)(!1),l=(0,a.EW)(()=>e.post.getImplicitMentions()),d=(0,a.EW)(()=>l.value.mainUser?[l.value.mainUser,...l.value.otherUsers]:l.value.otherUsers);function p(){t.value=!0}return(e,i)=>((0,a.uX)(),(0,a.CE)("div",u,[(0,a.Lk)("div",c,[(0,a.bF)(r.A,{i18n:"replying-to",users:(0,s.R1)(d),type:"username","links-class":"text-primary-500",onExpand:p},null,8,["users"])]),l.value.otherUsers.length>2?((0,a.uX)(),(0,a.Wv)(o.A,{key:0,modelValue:(0,s.R1)(t),"onUpdate:modelValue":i[0]||(i[0]=e=>(0,s.i9)(t)?t.value=e:null)},{default:(0,a.k6)(()=>[(0,a.bF)(n.A,{"main-user":(0,s.R1)(l).mainUser,"other-users":(0,s.R1)(l).otherUsers},null,8,["main-user","other-users"])]),_:1},8,["modelValue"])):(0,a.Q3)("",!0)]))}});l.d(t,["A",0,d])},12639(e,t,l){l(23792),l(62953);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(78853),i=l(75494),u=l(46807),c=l(18386),d=l(31166),p=l(78239),v=l(6417),m=l(73352);let f={key:2,class:"@text-subtitle-2"},y=["aria-label"],g={key:0,class:"@text-subtitle-2"},k=(0,a.pM)({__name:"RepostIcon",props:{post:{},noCount:{type:Boolean},iconClass:{},summarizeAbove1k:{type:Boolean}},setup(e){let t=(0,m.KR)(!1),l=(0,v.k)(),k=(0,a.EW)(()=>
1e.summarizeAbove1k?e.post.allRepostCountStringAbove1K:e.post.allRepostsCountString);return(v,m)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,o.R1)(l).isLogin?((0,a.uX)(),(0,a.Wv)(c.A,{key:0,modelValue:(0,o.R1)(t),"onUpdate:modelValue":m[1]||(m[1]=e=>(0,o.i9)(t)?t.value=e:null),"active-button-class":"justify-start w-auto",label:v.__("repost")},{"active-button":(0,a.k6)(()=>[(0,a.Lk)("div",{class:(0,n.C4)(["n-09s2dm",[e.post.repostedByMe?"text-success-500":"n-q68o71",e.iconClass]])},[e.post.repostedByMe?((0,a.uX)(),(0,a.Wv)(u.A,{key:0,src:r,class:"n-59054e"})):((0,a.uX)(),(0,a.Wv)(u.A,{key:1,src:i,class:"n-59054e"})),e.noCount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",f,(0,n.v_)((0,o.R1)(k)),1))],2)]),default:(0,a.k6)(()=>[(0,a.bF)(d.A,{post:e.post,onClose:m[0]||(m[0]=e=>t.value=!1)},null,8,["post"])]),_:1},8,["modelValue","label"])):((0,a.uX)(),(0,a.CE)("button",{key:1,type:"button",class:(0,n.C4)(["flex-center @text-overline text-gray-600",[{"text-success-500":e.post.repostedByMe},e.iconClass]]),"aria-label":v.__("repost"),onClick:m[2]||(m[2]=(0,s.D$)((...e)=>(0,o.R1)(p.z)&&(0,o.R1)(p.z)(...e),["prevent"]))},[(0,a.bF)(u.A,{src:i,class:(0,n.C4)(["n-59054e",e.iconClass])},null,8,["class"]),e.noCount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",g,(0,n.v_)(e.post.allRepostsCountString),1))],10,y))]))}});l.d(t,["A",0,k])},77586(e,t,l){l.d(t,{A:()=>m});var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(27422),i=l(46807),u=l(2334),c=l(34904),d=l(73352),p=l(35011);let v=["href","aria-label"],m=(0,a.pM)({__name:"Share",props:{post:{},iconClass:{}},setup(e){let t=(0,d.KR)(!1),l=(0,p.rd)();function m(){t.value=!0}return(d,p)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("a",{class:(0,n.C4)(["n-quy27k",e.iconClass]),href:e.post.createRouteLink({router:(0,o.R1)(l)}),"aria-label":d.__("share"),onClick:(0,s.D$)(m,["prevent"])},[(0,a.bF)(i.A,{src:r,class:"n-5zu4ff"})],10,v),(0,a.bF)(u.A,{modelValue:(0,o.R1)(t),"onUpdate:modelValue":p[0]||(p[0]=e=>(0,o.i9)(t)?t.value=e:null),"no-drag":""},{default:(0,a.k6)(()=>[(0,a.bF)(c.A,{post:e.post,title:d.__("share-post")},null,8,["post","title"])]),_:1},8,["modelValue"])]))}})},52862(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(47572),i=l(31270),u=l(63445),c=l(42479),d=l(72523),p=l(21413);let v={class:"n-iy1aqb"},m=(0,a.pM)({__name:"SlideMediaGallery",props:{post:{},scrollContainerClass:{},ignoreMarginTop:{type:Boolean}},setup(e){let t=(0,a.EW)(()=>e.post.media),l=(0,a.EW)(()=>t.value[0].type),m=(0,a.EW)(()=>{var t;return null==(t=e.post)?void 0:t.getPictures()}),f=(0,a.EW)(()=>{var t;return null==(t=e.post)?void 0:t.getVideos()});function y(e){return e.width&&e.height?e.width>e.height?"w-272px":e.width===e.height?"w-212px":"w-160px":"w-full"}let g=(0,p.S)();return(t,p)=>(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",v,["image"===(0,o.R1)(l)&&(0,o.R1)(m)?(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,n.C4)(["min-w-full flex flex-nowrap of-auto hide-scrollbar [scroll-snap-type:x_mandatory] scroll-smooth",[e.scrollContainerClass,{"mt-5":!e.post.hasText&&!e.ignoreMarginTop}]])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,o.R1)(m),(t,l)=>((0,a.uX)(),(0,a.CE)("div",{key:t.SID,class:(0,n.C4)(["relative flex items-stretch me-2 last:me-0 shrink-0 h-212px",y(t)])},[(0,a.bF)(u.A,{picture:t,"image-class":"object-cover s-full rounded-3",class:"grow basis-0 rounded-3 min-w-0 min-h-10!",post:e.post,loading:function(t){var l;if(g.value===(null==(l=e.post)?void 0:l.ID)&&0===t)return"eager"}(l),"show-link":""},null,8,["picture","post","loading"])],2))),128))],2)),[[(0,o.R1)(i.A)]]):"video"===(0,o.R1)(l)&&(0,o.R1)(f)?(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,n.C4)(["min-w-full flex flex-nowrap of-auto hide-scrollbar [scroll-snap-type:x_mandatory] scroll-smooth",[e.scrollContainerClass,{"mt-5":!e.post.hasText&&!e.ignoreMarginTop}]])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,o.R1)(f),t=>((0,a.uX)(),(0,a.CE)("div",{key:t.SID,class:(0,n.C4)(["relative flex items-stretch mx-1 shrink-0 h-212px",y(t)])},[(0,a.bF)(c.A,{class:"grow basis-0 rounded-3 w-full min-w-0 min-h-10!","video-class":"s-full rounded-3",video:t,post:e.post,"show-link":"",onClick:(0,s.D$)((0,o.R1)(r.l),["prevent"])},null,8,["video","post","onClick"])],2))),128))],2)),[[(0,o.R1)(i.A)]]):(0,a.Q3)("",!0)])),[[(0,o.R1)(d.A),void 0,void 0,{x:!0}]])}});l.d(t,["A",0,m])},66110(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(79201),i=l(46807),u=l(90622),c=l(54918);let d=["href"],p=(0,a.pM)({__name:"TranslatedBy",props:{service:{}},setup(e){let t=(0,a.EW)(()=>(0,c.T8)()[e.service]);return(e,l)=>((0,a.uX)(),(0,a.Wv)((0,o.R1)(r.Uz),{i18n:"translated-by",class:"h-full @text-subtitle-2"},{0:(0,a.k6)(()=>[(0,a.Lk)("a",{class:(0,n.C4)(["inline-block vertical-mid",(0,o.R1)(t).iconClass]),href:(0,o.R1)(t).link,onClick:l[0]||(l[0]=(0,s.D$)(e=>(0,o.R1)(u.dh)((0,o.R1)(t).link),["prevent"]))},[(0,a.bF)(i.A,{src:(0,o.R1)(t).icon},null,8,["src"])],10,d)]),_:1}))}});l.d(t,["A",0,p])},354(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(45532),i=l(12509),u=l(54062),c=l(30701),d=l(96566),p=l(73352),v=l(79201);let m={key:1},f=(0,a.pM)({__name:"TranslationButton",props:{subject:{}},setup(e){let t=(0,d.D)(),l=(0,p.KR)(!1),f=(0,a.EW)(()=>e.subject.translation),y=(0,a.EW)(()=>{var e;return!!(null!=(e=f.value)&&e.visible)}),g=(0,a.EW)(()=>i.j.isThread(e.subject)?(0,v.Ay)("translate-thread"):t.isPost(e.subject)?(0,v.Ay)("translate-post"):(0,v.Ay)("translate-text"));function k(){l.value||(0,u.L)(()=>e.subject.toggleTranslate(),void 0,l)}return(e,t)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,o.R1)(y)?(0,o.R1)(f)?((0,a.uX)(),(0,a.CE)("span",m,[(0,a.Lk)("button",{type:"button",class:"text-primary-500 me-1 @text-body [.screenshot_&]:hidden",onClick:(0,s.D$)(k,["prevent"])},(0,n.v_)(e.__("show-original-text")),1),(0,a.bF)(c.A,{service:(0,o.R1)(f).service},null,8,["service"])])):(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("button",{key:0,t
1ype:"button",class:"flex items-center text-primary-500 @text-body [.screenshot_&]:hidden",onClick:(0,s.D$)(k,["prevent"])},[(0,a.Lk)("span",null,(0,n.v_)((0,o.R1)(g)),1),(0,o.R1)(l)?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,class:"s-4 ms-2"})):(0,a.Q3)("",!0)]))]))}});l.d(t,["A",0,f])},38892(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(43983),i=l(46807),u=l(2334),c=l(73729),d=l(73352);let p=["aria-label"],v={key:0,class:"@text-subtitle-2"},m=(0,a.pM)({__name:"View",props:{post:{},iconClass:{},noCount:{type:Boolean},summarizeAbove1k:{type:Boolean}},setup(e){let t=(0,d.KR)(!1),l=(0,a.EW)(()=>e.summarizeAbove1k?e.post.viewCountStringAbove1K:e.post.viewCountString);function m(){e.post.canCurrentUserSeeStats&&(t.value=!0)}return(d,f)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.Lk)("button",{type:"button",class:(0,n.C4)(["n-hgwxwn",e.iconClass]),"aria-label":d.__("views"),onClick:(0,s.D$)(m,["prevent"])},[(0,a.bF)(i.A,{src:r,class:"n-59054e"}),e.noCount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",v,(0,n.v_)((0,o.R1)(l)),1))],10,p),(0,a.bF)(u.A,{modelValue:(0,o.R1)(t),"onUpdate:modelValue":f[0]||(f[0]=e=>(0,o.i9)(t)?t.value=e:null)},{default:(0,a.k6)(()=>[(0,a.bF)(c.A,{post:e.post},null,8,["post"])]),_:1},8,["modelValue"])]))}});l.d(t,["A",0,m])},31047(e,t,l){l(44114),l(3362);var a=l(2435),s=l(69627),o=l(14643),n=l(75494),r=l(9028),i=l(75732),u=l(35011),c=l(290);let d=(0,a.pM)({name:"RepostContextMenu",__name:"_repostContextMenu",props:{post:{}},emits:["close"],setup(e,{emit:t}){let l=(0,u.rd)(),d=(0,a.EW)(()=>(0,c.$3)("repostQuote",e.post.community));async function p(){await e.post.repost(),t("close")}async function v(){await e.post.undoRepost(),t("close")}function m(){return l.push(e.post.getQuoteComposeLink(l))}return(t,l)=>((0,a.uX)(),(0,a.CE)("div",null,[e.post.repostedByMe?((0,a.uX)(),(0,a.Wv)(i.A,{key:0,icon:n,action:v},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(t.__("undo-repost")),1)]),_:1})):((0,a.uX)(),(0,a.Wv)(i.A,{key:1,class:(0,o.C4)({disabled:!e.post.canRepost}),icon:n,action:p},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(t.__("repost")),1)]),_:1},8,["class"])),(0,s.R1)(d)?((0,a.uX)(),(0,a.Wv)(i.A,{key:2,icon:r,action:m},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(t.__("quote-repost")),1)]),_:1})):(0,a.Q3)("",!0)]))}});l.d(t,["A",0,d])},49153(e,t,l){l.d(t,{Ay:()=>w,ax:()=>C}),l(23792),l(62953);var a=l(2435),s=l(46249),o=l(69627),n=l(47572),r=l(19168),i=l(70093),u=l(77976),c=l(52519),d=l(4956),p=l(41007),v=l(91873),m=l(89785),f=l(50327),y=l(73352);let g={inert:"",class:"relative"},k=["src"],h={class:"flex justify-between min-w-0 items-center"},b={key:0,class:"flex-center s-34px shrink-0 rounded-9px bg-primary-500/10"},[x,C]=(0,f.Z)(!1),w=(0,a.pM)({__name:"PostPreview",props:{post:{},noReactions:{type:Boolean},noActions:{type:Boolean}},setup(e,{expose:t}){x(!0);let l=(0,a.EW)(()=>e.post.getReactions()),f=(0,a.EW)(()=>e.post.showReplyingTo),C=(0,y.KR)(null),w=(0,a.EW)(()=>!0);return t({postRef:C}),(t,y)=>{var x;return(0,a.uX)(),(0,a.CE)("div",{ref_key:"postRef",ref:C,class:"screenshot s-full flex flex-col items-center rounded-3 bg-gradient-to-b from-#1dcaf0 to-primary-500 pt-2"},[(0,a.Lk)("div",{class:"shrink-1 min-h-0 grow of-auto px-post-padding-x py-2 w-full rounded-inherit bg-background scroll-container",style:{"box-shadow":"0px 2px 5px 0px rgba(18, 18, 18, 0.12)"},"data-scrollable":"",onClick:y[0]||(y[0]=(0,s.D$)((...e)=>(0,o.R1)(n.l)&&(0,o.R1)(n.l)(...e),["prevent"]))},[(0,a.Lk)("div",g,[(0,a.Lk)("img",{src:`${(0,o.R1)("/")}img/icon-192.png`,width:"192",height:"192",class:"absolute inset-0 p-5 s-full object-center object-contain opacity-5"},null,8,k),(0,a.Lk)("div",h,[(0,a.bF)(r.A,{class:"grow min-w-0",post:e.post,"hide-follow-button":""},null,8,["post"]),(0,o.R1)(w)?((0,a.uX)(),(0,a.CE)("div",b,[(0,a.bF)(v.A,{class:"w-6"})])):(0,a.Q3)("",!0)]),(0,o.R1)(f)?((0,a.uX)(),(0,a.Wv)(p.A,{key:0,post:e.post,class:"@text-body text-gray-500"},null,8,["post"])):(0,a.Q3)("",!0),(0,a.bF)(i.A,{post:e.post,"text-class":"@text-body","scroll-container-class":"slide-ps-post-padding-x slide-pe-post-padding-x"},null,8,["post"]),(0,a.bF)(u.A,{post:e.post},null,8,["post"]),e.noActions?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(c.A,{key:1,post:e.post},null,8,["post"])),(0,o.R1)(!0)&&null!=(x=(0,o.R1)(l))&&x.length&&!e.noReactions?((0,a.uX)(),(0,a.Wv)(d.A,{key:2,reactions:(0,o.R1)(l),post:e.post},null,8,["reactions","post"])):(0,a.Q3)("",!0)])]),(0,a.bF)(m.A,{post:e.post},null,8,["post"])],512)}}})},47634(e,t,l){var a=l(2435),s=l(14643);let o={class:"my-2 text-center text-whiteLight @text-subtitle-2 truncate w-full shrink-0 font-default"},n=(0,a.pM)({__name:"PostPreviewFooter",props:{post:{}},setup:e=>(t,l)=>((0,a.uX)(),(0,a.CE)("p",o,(0,s.v_)(e.post.user.displayLink),1))});l.d(t,["A",0,n])},92026(e,t,l){l(3362);var a=l(2435),s=l(69627),o=l(14643),n=l(97095),r=l(51984),i=l(58508),u=l(46422);let c={class:"pt-1"},d={class:"flex items-center"},p={class:"@text-h4-m grow"},v={key:0,class:"w-full"},m=(0,a.pM)({__name:"PostShortLinkList",props:{post:{}},setup(e){let{LoadingContainer:t,result:m}=(0,n.A)(async()=>(await e.post.getShortLinks()).shortLinks),f=(0,a.EW)(()=>{var e;return!(null!=(e=m.value)&&e.length)});return(n,y)=>((0,a.uX)(),(0,a.CE)("div",c,[(0,a.Lk)("div",d,[(0,a.Lk)("h4",p,(0,o.v_)(n.__("short
1-links")),1),n.$can("shortLinkPostCreate",e.post.community)?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,link:e.post.addShortLinksLink,size:"mini","style-type":"tonal",icon:l(38211)},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(n.__("add")),1)]),_:1},8,["link","icon"])):(0,a.Q3)("",!0)]),(0,a.bF)((0,s.R1)(t),{"content-class":"pt-2px","loading-class":"mt-4"},{default:(0,a.k6)(()=>[(0,s.R1)(f)?((0,a.uX)(),(0,a.Wv)(u.A,{key:0,title:n.__("short-link-not-created"),class:"my-2","title-class":"@text-body"},null,8,["title"])):(0,a.Q3)("",!0),((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,s.R1)(m),(e,t)=>((0,a.uX)(),(0,a.CE)(a.FK,{key:e.ID},[(0,a.bF)(i.A,{"short-link":e,class:"my-10px"},null,8,["short-link"]),(0,s.R1)(m)&&t<(0,s.R1)(m).length-1?((0,a.uX)(),(0,a.CE)("hr",v)):(0,a.Q3)("",!0)],64))),128))]),_:1})]))}});l.d(t,["A",0,m])},61607(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(83266),r=l(51984),i=l(46807),u=l(60684),c=l(7169),d=l(19535);let p={key:0,class:"@text-subtitle-2"},v={class:"grid [grid-template-columns:repeat(auto-fit,minmax(48px,1fr))] px-2 py-1"},m=(0,a.pM)({__name:"Reaction",props:{post:{},noCount:{type:Boolean},iconClass:{},summarizeAbove1k:{type:Boolean}},setup(e){let{reactions:t,position:l,isOpenReactionPicker:m,isReactionButtonEnabled:f,openReactionPicker:y,selectReaction:g}=(0,d.$)(()=>e.post),k=(0,a.EW)(()=>e.summarizeAbove1k?e.post.getAllReactionsCountStringAbove1K():e.post.getAllReactionsCountString());return(d,h)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.bF)(r.A,{"loading-class":"s-4","style-type":"unstyled",class:(0,o.C4)(["n-tr6i62",e.iconClass]),size:"none",action:(0,s.R1)(y),"aria-label":d.__("reaction"),disabled:!(0,s.R1)(f)},{default:(0,a.k6)(()=>[(0,a.bF)(i.A,{src:n,class:"n-59054e"}),e.noCount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",p,(0,o.v_)((0,s.R1)(k)),1))]),_:1},8,["class","action","aria-label","disabled"]),(0,a.bF)(u.A,{modelValue:(0,s.R1)(m),"onUpdate:modelValue":h[0]||(h[0]=e=>(0,s.i9)(m)?m.value=e:null),position:(0,s.R1)(l),class:"rounded-full"},{default:(0,a.k6)(()=>[(0,a.Lk)("div",v,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,s.R1)(t),(e,l)=>((0,a.uX)(),(0,a.Wv)(r.A,{key:e,"style-type":"unstyled",size:"large",class:"p-2 shrink-0",action:e=>(0,s.R1)(g)((0,s.R1)(t)[l])},{default:(0,a.k6)(()=>[(0,a.bF)(c.A,{reaction:e,animate:"",class:"s-8"},null,8,["reaction"])]),_:2},1032,["action"]))),128))])]),_:1},8,["modelValue","position"])]))}});l.d(t,["A",0,m])},916(e,t,l){l.d(t,{A:()=>c}),l(3362);var a=l(2435),s=l(69627),o=l(14643),n=l(51984),r=l(7169),i=l(78239),u=l(49153);let c=(0,a.pM)({__name:"ReactionItem",props:{reaction:{},isSelected:{type:Boolean},post:{}},setup(e){let t=(0,u.ax)();async function l(t){return t.preventDefault(),await (0,i.z)(),e.post.toggleReaction(e.reaction.reaction)}return(i,u)=>((0,a.uX)(),(0,a.Wv)(n.A,{"style-type":"text",class:(0,o.C4)(["rounded-150px h-6 min-w-10 px-6px flex-center",e.isSelected?"bg-primary-500":"bg-grayLight-50 dark:bg-whiteLight/15"]),color:e.isSelected?"secondary":"primary",action:l,"loading-class":"s-4"},{default:(0,a.k6)(()=>[(0,a.bF)(r.A,{reaction:e.reaction.reaction,animate:!(0,s.R1)(t),class:"s-4 me-1"},null,8,["reaction","animate"]),(0,a.Lk)("span",{class:(0,o.C4)(["@text-subtitle-2 font-500",e.isSelected?"text-onPrimary-500":"text-gray-500"])},(0,o.v_)(e.reaction.reactionCount),3)]),_:1},8,["class","color"]))}})},75841(e,t,l){var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(84975),i=l(73352);let u={class:"flex flex-col rounded-inherit"},c=(0,a.pM)({__name:"ReactionPicker",props:(0,a.zz)({class:{},position:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,i.KR)(!1),l=(0,i.KR)(),c=(0,a.fn)(e,"modelValue"),d=(0,i.KR)("top"),p=(0,a.EW)(()=>"top"===d.value?e.position.y+10:e.position.y-40),{teleportTo:v}=(0,r.h)(c,{animating:t,teleportTo:"#teleports"});function m(){c.value=!1}return(0,a.wB)(c,e=>{e||(t.value=!0)}),(0,a.nT)(()=>{if(!l.value||!e.position)return;let{clientWidth:t,clientHeight:a}=document.documentElement;l.value.style.top=e.position.y+25+"px",l.value.style.left=e.position.x+"px",d.value="top";let s=t-(e.position.x+l.value.clientWidth),o=a-(e.position.y+25+l.value.clientHeight);s<25&&(l.value.style.left=e.position.x+s-25+"px"),o<25&&(d.value="bottom",l.value.style.top=e.position.y-l.value.clientHeight-25+"px")}),(r,i)=>c.value||(0,o.R1)(t)?((0,a.uX)(),(0,a.Wv)(a.Im,{key:0,to:(0,o.R1)(v)},[(0,a.Lk)("div",{class:(0,n.C4)(e.class)},[(0,a.bF)(s.eB,{appear:"",name:"fade","leave-to-class":"opacity-0 transition-delay-150",onAfterLeave:i[0]||(i[0]=e=>t.value=!1)},{default:(0,a.k6)(()=>[c.value?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"bg-backdrop fixed z-dropdown inset-0",onClick:m})):(0,a.Q3)("",!0)]),_:1}),(0,a.bF)(s.eB,{name:"fade-zoom",appear:""},{default:(0,a.k6)(()=>[c.value?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"fixed bg-background rounded-full s-10px z-dropdown",style:(0,n.Tr)({left:`${e.position.x}px`,top:`${e.position.y}px`})},null,4)):(0,a.Q3)("",!0)]),_:1}),(0,a.bF)(s.eB,{name:"fade-zoom",appear:""},{default:(0,a.k6)(()=>[c.value?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"fixed bg-background rounded-full s-7 z-dropdown transition-delay-100",style:(0,n.Tr)({left:`${e.position.x}px`,top:`${(0,o.R1)(p)}px`})},null,4)):(0,a.Q3)("",!0)]),_:1}),(0,a.bF)(s.eB,{name:"fade-zoom",appear:""},{default:(0,a.k6)(()=>[c.value?((0,a.uX)(),(0,a.CE)("div",{key:0,ref_key:"element",ref:l,class:"fixed mx-4 bg-background z-dropdown rounded-30px flex flex-col w-300px transition-delay-150"},[(0,a.Lk)("div",u,[(0,a.RG)(r.$slots,"default")])],512)):(0,a.Q3)("",!0)]),_:3})],2)],8,["to"])):(0,a.Q3)("",!0)}});l.d(t,["A",0,c])},32353(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(27422),r=l(67278),i=l(82189),u=l(46807),c=l(29892),d=l(90622),p=l(73997);let v={key:0,class:"flex items-center font-default"},m={key:2,class:"@text-subtitle-2"},f={class:"flex items-center mt-2px"},y={class:"grow min-w-0 truncate @text-h4-r select-all"},g=["aria-label"],k={default:{backgroundColor:"bg-grayLight-50 dark:bg-grayLight-800",borderColor:"border-gray-100",textColor:"text-gray-600",progressColor:"bg-gray-600"},active:{backgroundColor:"bg-success-50",borderColor:"border-transparent",textColor:"text-success-500",progressColor:"bg-success-500"},expiring:{backgroundColor:"bg-[#FFEAD9]",borderColor:"border-transparent",textColor:"text-warning-500",progressColor:"bg-warning-500"},expired:{backgroundColor:"bg-grayLight-50 dark:bg-grayLight-800",borderColor:"border-transparent",textColor:"text-gray-600",progressColor:"bg-gray-600"},archived:{backgroundColor:"bg-grayLight-50 dark:bg-grayLight-800",borderColor:"border-transparent",textColor:"text-gray-600",progressColor:"bg-gray-600"}},h=(0,a.pM)({__name:"ShareLink",props:{shortLink:{},linkString:{},noShare:{type:Boolean},noHeaderDetails:{type:Boolean},noDetails:{type:Boolean}}
1,setup(e){let{copied:t,copy:l,icon:h}=(0,i.T)(),b=(0,a.EW)(()=>{var t,l,a;return null!=(t=null!=(l=null==(a=e.shortLink)?void 0:a.shortLink)?l:e.linkString)?t:""}),x=(0,a.EW)(()=>{var t,l;return!e.noHeaderDetails&&((null==(t=e.shortLink)?void 0:t.title)||(null==(l=e.shortLink)?void 0:l.localizedStatus))}),C=(0,a.EW)(()=>!e.noShare&&(0,d.Y2)()),w=(0,a.EW)(()=>{var t;return null==(t=e.shortLink)?void 0:t.progress}),R=(0,a.EW)(()=>{var e;return`${(null!=(e=w.value)?e:0)*100}%`}),A=(0,a.EW)(()=>!e.shortLink||e.noHeaderDetails?"default":e.shortLink.status);function _(){t.value||l(b.value)}function L(){return(0,d.mv)({url:b.value})}return(t,l)=>{var i,d,E;return(0,a.uX)(),(0,a.CE)("div",null,[(0,s.R1)(x)?((0,a.uX)(),(0,a.CE)("div",v,[null!=(i=e.shortLink)&&i.localizedStatus?((0,a.uX)(),(0,a.CE)("span",{key:0,class:(0,o.C4)(["rounded-e-40px rounded-ts-4 rounded-bs-1 px-2 @text-subtitle-s",[k[(0,s.R1)(A)].backgroundColor,k[(0,s.R1)(A)].textColor]])},(0,o.v_)(e.shortLink.localizedStatus),3)):(0,a.Q3)("",!0),null!=(d=e.shortLink)&&d.title&&e.shortLink.localizedStatus?((0,a.uX)(),(0,a.Wv)(p.A,{key:1,class:"mx-3px"})):(0,a.Q3)("",!0),null!=(E=e.shortLink)&&E.title?((0,a.uX)(),(0,a.CE)("span",m,(0,o.v_)(e.shortLink.title),1)):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0),(0,a.Lk)("div",f,[(0,a.Lk)("div",{class:(0,o.C4)(["relative grow min-w-0 pb-2px rounded-5 of-hidden",e.noHeaderDetails||!e.shortLink?"rounded-ts-5":"rounded-ts-1"])},[e.shortLink&&(0,s.R1)(w)&&!e.noHeaderDetails?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,o.C4)([[k[(0,s.R1)(A)].progressColor],"pointer-events-none absolute start-0 -bottom-2px z-0 h-9 rounded-inherit transition-all duration-300"]),style:(0,o.Tr)({width:(0,s.R1)(R)})},null,6)):(0,a.Q3)("",!0),(0,a.Lk)("div",{class:(0,o.C4)([[k[(0,s.R1)(A)].backgroundColor,k[(0,s.R1)(A)].borderColor],"relative z-1 grow border-1 h-9 flex-center min-w-0 px-10px dir-ltr"])},[(0,a.Lk)("span",y,(0,o.v_)((0,s.R1)(b)),1),(0,a.Lk)("button",{"aria-label":t.__("copy"),type:"button",onClick:_},[(0,a.bF)(u.A,{src:(0,s.R1)(h),class:"ms-1 s-5 text-gray-600"},null,8,["src"])],8,g)],2)],2),(0,s.R1)(C)?((0,a.uX)(),(0,a.Wv)(c.A,{key:0,"aria-label":t.__("share"),action:L,class:"s-9 flex-center ms-1 shrink-0 text-gray-600",color:"secondary"},{default:(0,a.k6)(()=>[(0,a.bF)(u.A,{src:n,class:"s-21px"})]),_:1},8,["aria-label"])):(0,a.Q3)("",!0),e.shortLink&&!e.noDetails?((0,a.uX)(),(0,a.Wv)(c.A,{key:1,"aria-label":t.__("more"),class:"s-9 flex-center ms-1 shrink-0 text-gray-600",color:"secondary",link:e.shortLink.getDetailsLink()},{default:(0,a.k6)(()=>[(0,a.bF)(u.A,{src:r,class:"s-21px"})]),_:1},8,["aria-label","link"])):(0,a.Q3)("",!0)])])}}});l.d(t,["A",0,h])},76153(e,t,l){var a=l(2435),s=l(69627),o=l(14643),n=l(94302),r=l(2687),i=l(35011);let u=["href"],c=(0,a.pM)({__name:"BaseLink",props:{href:{}},setup(e){let t=(0,i.rd)(),l=(0,a.EW)(()=>e.href&&(0,r.C)(e.href));function c(l){if(!l.defaultPrevented&&e.href){if(l.preventDefault(),l.ctrlKey)return void window.open(e.href,"_blank","noopener");(0,n.t0)(e.href,t)}}return(t,n)=>((0,a.uX)(),(0,a.CE)("a",{href:(0,s.R1)(l),class:(0,o.C4)({"no-hover":!e.href}),onClick:c},[(0,a.RG)(t.$slots,"default")],10,u))}});l.d(t,["A",0,c])},11611(e,t,l){l(23792),l(3362),l(62953);var a=l(2435),s=l(69627),o=l(45532),n=l(46422),r=l(88640),i=l(21368),u=l(15846),c=l(13593),d=l(33432),p=l(36596),v=l(66218),m=l(79201),f=l(73352),y=l(21820);let g={class:"flex flex-col overflow-auto h-75vh bs-body-wrapper"},k={key:0,class:"mt-1 px-4"},h=(0,a.pM)({__name:"BottomSheetSelectUserOrConversartion",props:{title:{},subtitle:{},loadingUser:{}},emits:["select","close"],async setup(e,{emit:t}){let l,h,b=(0,a.EW)(()=>({type:"text",searchPlaceholder:(0,m.Ay)("search"),title:e.title,subtitle:e.subtitle})),x=(0,f.KR)(""),C=(0,y.d7)(x,500),w=(0,f.KR)(""),R=(0,f.KR)("0"),A=(0,f.KR)([]),_=(0,f.KR)(null),L=(0,f.KR)("idle"),E=(0,f.KR)("0"),{WrapperContainer:W,reset:X,result:M}=([l,h]=(0,a.E)(async()=>(0,i.WQ)(async({action:e,finish:t})=>{let l=await v.s.getList({action:e,type:"confirmed",messageID:E.value}),a=x.value.trim();if(E.value=l.oldestMessageID,l.isLastPage&&""===a&&t(),!a)return A.value=[...A.value,...l.usersSummary||[]].map(e=>new d._(e)),L.value=A.value.length?"idle":"empty",l.usersSummary||[];let s=await c.v.userSearch({lastUserID:R.value,query:a,location:"select-user-bottom-sheet"}).catch(e=>{var t;return t=e,R.value.trim()||(F(),M.value=void 0),Promise.reject(t)});return"0"===R.value&&F(),s.length&&(L.value="idle",R.value=s[s.length-1].userID,A.value=A.value.concat(s)),A.value.length||(w.value=a,L.value="empty"),s||[]})),l=await l,h(),l);
1function F(){R.value="0",A.value=[],M.value=[]}return(0,a.wB)(C,e=>{R.value="0",e.length>0?X().then(()=>{var e;null==(e=_.value)||e.scroll(0,0)}):(X(),F())}),(l,i)=>((0,a.uX)(),(0,a.CE)("div",g,[(0,a.bF)(p.A,{"search-query":(0,s.R1)(x),"onUpdate:searchQuery":i[0]||(i[0]=e=>(0,s.i9)(x)?x.value=e:null),"header-config":(0,s.R1)(b)},null,8,["search-query","header-config"]),(0,a.bF)((0,s.R1)(W),{ref_key:"usersListWrapperElement",ref:_,class:"flex flex-col grow of-auto","error-class":"mt-5"},{default:(0,a.k6)(()=>[(0,s.R1)(A).length?((0,a.uX)(),(0,a.CE)("div",k,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,s.R1)(A),l=>((0,a.uX)(),(0,a.Wv)(r.A,{key:l.userID,user:l,"no-action":"","no-link-to-profile":"","no-tooltip":"","no-bio":"",onClick:e=>t("select",l)},{action:(0,a.k6)(()=>[e.loadingUser&&e.loadingUser.userID===l.userID?((0,a.uX)(),(0,a.Wv)(o.A,{key:0,class:"s-6"})):(0,a.Q3)("",!0)]),_:2},1032,["user","onClick"]))),128))])):((0,a.uX)(),(0,a.Wv)(n.A,{key:1,title:(0,s.R1)(x).length?l.__("user-search-no-result",[(0,s.R1)(u.W).processText((0,s.R1)(w))]):l.__("search-user")},null,8,["title"]))]),_:1},512)]))}});l.d(t,["A",0,h])},24817(e,t,l){var a=l(2435),s=l(14643),o=l(66499);let n={class:"@text-h3-b prosed mt-5"},r=(0,a.pM)({__name:"OthersPerformanceStatsOnPost",props:{stats:{}},setup:e=>(t,l)=>((0,a.uX)(),(0,a.CE)("div",null,[(0,a.bF)(o.A,{data:e.stats.postsChart},null,8,["data"]),(0,a.bF)(o.A,{class:"mt-5",data:e.stats.interactionsChart},null,8,["data"]),(0,a.Lk)("h3",n,(0,s.v_)(t.__("daily-view-on-post")),1),(0,a.bF)(o.A,{class:"mt-3",data:e.stats.viewsChart},null,8,["data"])]))});l.d(t,["A",0,r])},2092(e,t,l){var a=l(2435),s=l(69627),o=l(64415),n=l(46807),r=l(74477),i=l(44388),u=l(18849);let c=["dir"],d={class:"n-xspdel header-content"},p={class:"flex items-center"},v={class:"flex-center absolute inset-0 pointer-events-none"},m={class:"flex items-center"},f=(0,a.pM)({__name:"TopHeader",props:{logoName:{},serviceLink:{default:"/showcase/services"},searchLink:{default:"/search"},hideServicesMenu:{type:Boolean}},setup(e){let t="auto";return(l,f)=>{let y=(0,a.g2)("router-link");return(0,s.R1)(!1)?((0,a.uX)(),(0,a.CE)("header",{key:0,class:"n-87kmob",dir:"auto"===(0,s.R1)(t)?void 0:(0,s.R1)(t)},[(0,a.Lk)("div",d,[(0,a.Lk)("div",p,[(0,a.bF)(y,{"aria-label":l.__("search"),to:e.searchLink,class:"mie-2"},{default:(0,a.k6)(()=>[(0,a.bF)(n.A,{src:o,class:"s-22px"})]),_:1},8,["aria-label","to"]),(0,a.bF)(i.A)]),(0,a.Lk)("div",v,[(0,a.bF)(u.A,{"fallback-logo-name":e.logoName},null,8,["fallback-logo-name"])]),(0,a.RG)(l.$slots,"beforeEnd"),(0,a.RG)(l.$slots,"end",{},()=>[(0,a.Lk)("div",m,[(0,s.R1)(!1)&&!e.hideServicesMenu?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,link:e.serviceLink},null,8,["link"])):(0,a.Q3)("",!0)])])]),f[0]||(f[0]=(0,a.Lk)("hr",{class:"w-full <xs:hidden"},null,-1))],8,c)):(0,a.Q3)("",!0)}}});l.d(t,["A",0,f])},93661(e,t,l){l(3362);var a=l(2435),s=l(46249),o=l(69627),n=l(14643),r=l(52983),i=l(51984),u=l(6417),c=l(46807),d=l(45532),p=l(5634),v=l(79201),m=l(73352),f=l(29245);let y={key:0,class:"whitespace-nowrap"},g={key:0,class:"absolute left-1/2 top-1/2 -translate-1/2 py-2 s-full flex-center"},k={key:1,class:"absolute left-1/2 top-1/2 -translate-1/2 py-2 s-full flex-center"},h={key:0,class:"blur-2 absolute s-full dark:bg-[rgba(255,255,255,0.5)] light:bg-[rgba(0,0,0,0.5)]"},b=(0,a.pM)({__name:"UserActionButton",props:{user:{},followBack:{type:Boolean},buttonSize:{default:"mini"},buttonClass:{},animatedFollow:{type:Boolean,default:!1},isFloat:{type:Boolean},iconOnly:{type:Boolean}},emits:["follow","unfollow"],setup(e,{expose:t,emit:b}){let x=(0,u.k)(),C=(0,a.EW)(()=>e.user.isBlocked?"unblock":e.user.isFollowing?"unfollow":e.followBack&&!e.user.isFollowing&&e.user.isFollower?"follow-back":"follow"),w=(0,a.EW)(()=>"unblock"===C.value?{icon:l(18531),label:(0,v.Ay)("blocked"),color:"error",styleType:"filled"}:"unfollow"===C.value?{icon:l(36569),label:(0,v.Ay)("unfollow"),color:"secondary",styleType:"outlined"}:{icon:l(12132),label:"follow-back"===C.value?(0,v.Ay)("follow-back"):(0,v.Ay)("follow"),color:"secondary",styleType:"filled"}),R=(0,a.EW)(()=>{var t;return e.user.username===(null==(t=x.currentUser)?void 0:t.username)}),A=(0,a.EW)(()=>!!x.isLogin&&!R.value&&(!e.user.isUnknown||!!e.user.isFollowing)),_=(0,m.KR)("idle");async function L(t){if(t.preventDefault(),t.stopPropagation(),!e.animatedFollow||e.iconOnly){await e.user.follow(!0),b("follow");return}_.value="loading";try{await e.user.follow(!0),_.value="checked",await (0,p.uk)(500),_.value="success",await (0,p.uk)(500),_.value="finish",b("follow")}catch(e){_.value="idle",(0,p.wH)(e)}}async function E(){await e.user.follow(!1),b("unfollow")}function W(t){return t.preventDefault(),e.user.block(!1)}function X(t){t.preventDefault(),t.stopPropagation(),(0,f.fH)({subt
1itle:(0,v.Ay)("unfollow-confirm",[e.user.sanitizedFullName]),action:E,okText:(0,v.Ay)("unfollow"),cancelText:(0,v.Ay)("cancel"),isSubtitleHTML:!0,type:"error",title:(0,v.Ay)("unfollow"),icon:l(59237)})}function M(e){return"unblock"===C.value?W(e):"unfollow"===C.value?X(e):L(e)}return(0,a.wB)(()=>e.user.isFollowing,t=>{e.animatedFollow&&("idle"===_.value||"finish"===_.value)&&(_.value=t?"finish":"idle")}),t({state:_}),(t,l)=>(0,o.R1)(A)?((0,a.uX)(),(0,a.CE)("div",y,[e.iconOnly?((0,a.uX)(),(0,a.Wv)(i.A,{key:0,action:M,size:e.buttonSize,class:(0,n.C4)(["aspect-square px-0",[e.buttonClass,{"bg-gray-50":"unfollow"===(0,o.R1)(C)&&e.isFloat}]]),"style-type":(0,o.R1)(w).styleType,color:(0,o.R1)(w).color,"aria-label":(0,o.R1)(w).label},{default:(0,a.k6)(()=>[(0,a.bF)(c.A,{src:(0,o.R1)(w).icon,class:"s-5"},null,8,["src"])]),_:1},8,["size","class","style-type","color","aria-label"])):e.animatedFollow?e.user.isBlocked?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(i.A,{key:2,size:e.buttonSize,color:"secondary",class:(0,n.C4)([[e.buttonClass,{"bg-success-500 animate-fade-out animate-forwards animate-duration-500":"success"===(0,o.R1)(_),"pointer-events-none":"idle"!==(0,o.R1)(_)&&"finish"!==(0,o.R1)(_)}],"overflow-hidden opacity-100"]),"style-type":"success"===(0,o.R1)(_)?"unstyled":"filled",onClick:L},{default:(0,a.k6)(()=>[(0,a.bF)(s.eB,{name:"fade"},{default:(0,a.k6)(()=>["loading"===(0,o.R1)(_)?((0,a.uX)(),(0,a.CE)("span",g,[(0,a.bF)(d.A,{class:"s-4"})])):"checked"===(0,o.R1)(_)?((0,a.uX)(),(0,a.CE)("span",k,[(0,a.bF)(c.A,{src:r,class:"s-4"})])):(0,a.Q3)("",!0)]),_:1}),"loading"===(0,o.R1)(_)||"checked"===(0,o.R1)(_)?((0,a.uX)(),(0,a.CE)("div",h)):(0,a.Q3)("",!0),(0,a.Lk)("div",{class:(0,n.C4)({"blur-2":"loading"===(0,o.R1)(_)||"checked"===(0,o.R1)(_)})},(0,n.v_)(t.__("follow")),3)]),_:1},8,["size","class","style-type"])):((0,a.uX)(),(0,a.CE)(a.FK,{key:1},["unblock"===(0,o.R1)(C)?((0,a.uX)(),(0,a.Wv)(i.A,{key:0,size:e.buttonSize,class:(0,n.C4)(e.buttonClass),"style-type":"filled",color:"error",action:W},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(t.__("blocked")),1)]),_:1},8,["size","class"])):"unfollow"===(0,o.R1)(C)?((0,a.uX)(),(0,a.Wv)(i.A,{key:1,action:X,size:e.buttonSize,class:(0,n.C4)([e.buttonClass,{"bg-gray-50":e.isFloat}]),"style-type":"outlined",color:"secondary"},{default:(0,a.k6)(()=>
1[(0,a.eW)((0,n.v_)(t.__("followed")),1)]),_:1},8,["size","class"])):"follow-back"===(0,o.R1)(C)?((0,a.uX)(),(0,a.Wv)(i.A,{key:2,action:L,size:e.buttonSize,class:(0,n.C4)(e.buttonClass),color:"secondary"},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(t.__("follow-back")),1)]),_:1},8,["size","class"])):"follow"===(0,o.R1)(C)?((0,a.uX)(),(0,a.Wv)(i.A,{key:3,action:L,size:e.buttonSize,class:(0,n.C4)(e.buttonClass),color:"secondary","style-type":"filled"},{default:(0,a.k6)(()=>[(0,a.eW)((0,n.v_)(t.__("follow")),1)]),_:1},8,["size","class"])):(0,a.Q3)("",!0)],64))])):(0,a.Q3)("",!0)}});l.d(t,["A",0,b])},44897(e,t,l){l(44114),l(3362);var a=l(2435),s=l(69627),o=l(14643),n=l(80636),r=l(49449),i=l(80489),u=l(93699),c=l(6799),d=l(90780),p=l(46807),v=l(29892),m=l(18386),f=l(15746),y=l(3656),g=l(15213),k=l(35011),h=l(73352);let b=["role"],x={class:"ms-2 grow min-w-0 w-full"},C={class:"flex items-start w-full"},w={class:"min-w-0 flex flex-col me-1"},R={class:"flex items-center"},A={class:"flex items-center"},_={key:0,class:"ms-1 px-1 min-w-0 max-w-full inline-block shrink-0 truncate bg-grayLight-50 dark:bg-whiteLight/5 rounded-2 @text-subtitle-2 whitespace-nowrap"},L={class:"shrink-0 ms-auto max-w-full"},E={key:0,class:"flex items-center"},W=["cite","innerHTML"],X=(0,a.pM)({__name:"UserCard",props:{user:{},showMuteUnmuteButton:{type:Boolean},hasContextMenu:{type:Boolean},noBio:{type:Boolean},noTooltip:{type:Boolean},noAction:{type:Boolean},noLinkToProfile:{type:Boolean},avatarConfig:{}},emits:["unfollow","click"],setup(e,{emit:t}){let l=(0,k.rd)(),X=(0,h.KR)(!1),M=(0,a.EW)(()=>e.user.getSanitizedBio());function F(){t("unfollow")}function B(t){return t.stopPropagation(),t.preventDefault(),e.user.mute(!e.user.isMute)}async function T(s){t("click",s),s.defaultPrevented||e.noLinkToProfile||(await (0,a.dY)(),l.push(e.user.link))}return(t,l)=>{var k;return(0,a.uX)(),(0,a.CE)("div",{role:e.noLinkToProfile?"row":"button",class:"n-mviipb",onClick:T},[(0,a.bF)(u.A,{"no-tooltip":e.noTooltip,user:e.user,size:"large","no-link":e.noLinkToProfile,"show-cloud-meeting":"","show-authentication-status":"","show-community-ring":null==(k=e.avatarConfig)?void 0:k.communityOwnerRing},null,8,["no-tooltip","user","no-link","show-community-ring"]),(0,a.Lk)("div",x,[(0,a.Lk)("div",C,[(0,a.Lk)("div",w,[(0,a.Lk)("div",R,[(0,a.bF)(y.A,{"no-link":e.noLinkToProfile,"no-tooltip":e.noTooltip,user:e.user,class:"@text-title2-s truncate text-start"},null,8,["no-link","no-tooltip","user"]),(0,a.bF)(g.A,{user:e.user,class:"s-4 shrink-0 mx-1"},null,8,["user"])]),(0,a.Lk)("div",A,[(0,a.bF)(c.A,{"no-tooltip":e.noTooltip,"no-link":e.noLinkToProfile,user:e.user,class:"@text-body text-gray-600 text-start truncate",dir:"ltr"},null,8,["no-tooltip","no-link","user"]),e.user.isFollower?((0,a.uX)(),(0,a.CE)("span",_,(0,o.v_)(t.__("follows-you")),1)):(0,a.Q3)("",!0)])]),(0,a.Lk)("div",L,[(0,a.RG)(t.$slots,"action",{},()=>[e.noAction?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("div",E,[e.showMuteUnmuteButton?((0,a.uX)(),(0,a.Wv)(v.A,{key:0,"style-type":"text",color:e.user.isMute?"error":"primary",action:B,"aria-label":e.user.isMute?t.__("unmute"):t.__("mute"),class:"s-7 me-1 flex-center"},{default:(0,a.k6)(()=>[e.user.isMute?((0,a.uX)(),(0,a.Wv)(p.A,{key:0,class:"s-6",src:n})):((0,a.uX)(),(0,a.Wv)(p.A,{key:1,class:"s-6",src:r}))]),_:1},8,["color","aria-label"])):(0,a.Q3)("",!0),(0,a.bF)(d.A,{class:"shrink-0",user:e.user,onUnfollow:F},null,8,["user"]),e.hasContextMenu?((0,a.uX)(),(0,a.Wv)(m.A,{key:1,modelValue:(0,s.R1)(X),"onUpdate:modelValue":l[1]||(l[1]=e=>(0,s.i9)(X)?X.value=e:null)},{"active-button":(0,a.k6)(()=>[(0,a.bF)(p.A,{src:i,class:"s-5 ms-4"})]),default:(0,a.k6)(()=>[(0,a.bF)(f.A,{user:e.user,onClose:l[0]||(l[0]=e=>X.value=!1),onRemoveFollower:F},null,8,["user"])]),_:1},8,["modelValue"])):(0,a.Q3)("",!0)]))])])]),e.user.bio.text&&!e.noBio?((0,a.uX)(),(0,a.CE)("q",{key:0,cite:e.user.link,class:"mt-2px @text-body font-default text-black whitespace-pre-wrap text-start line-clamp-2 inline-auto-dir",innerHTML:(0,s.R1)(M)},null,8,W)):(0,a.Q3)("",!0)])],8,b)}}});l.d(t,["A",0,X])},71695(e,t,l){l(3362);var a=l(2435),s=l(69627),o=l(14643),n=l(28365),r=l(75732),i=l(79201),u=l(29245);let c={class:"truncate"},d={class:"truncate"},p=(0,a.pM)({__name:"UserContextMenu",props:{user:{}},emits:["close","removeFollower"],setup(e,{emit:t}){let p=(0,a.EW)(()=>
1{if(e.user)return e.user.isMute?l(49449):l(80636)}),v=(0,a.EW)(()=>{if(e.user)return e.user.isBlocked?l(18531):l(8024)});async function m(){if(!e.user)return;let t=e.user.isMute?"unmute":"mute";if("mute"!==t)return g(t);(0,u.fH)({subtitle:(0,i.Ay)("mute-confirm",[e.user.fullName]),cancelText:(0,i.Ay)("cancel"),okText:(0,i.Ay)("mute"),action:()=>g(t),type:"error",title:(0,i.Ay)("mute-user",[(0,i.Ay)("user")]),icon:l(80636)})}async function f(){if(!e.user)return;let t=e.user.isBlocked?"unblock":"block";if("block"!==t)return y(t);(0,u.fH)({subtitle:(0,i.Ay)("block-confirm",[e.user.fullName]),cancelText:(0,i.Ay)("cancel"),okText:(0,i.Ay)("block"),action:()=>y(t),title:(0,i.Ay)("block-user",[(0,i.Ay)("user")]),icon:l(8024),type:"error"})}function y(l){if(e.user)return e.user.block("block"===l).then(()=>{t("removeFollower")})}function g(l){if(e.user)return e.user.mute("mute"===l).then(()=>{t("close")})}async function k(){e.user&&(0,u.fH)({subtitle:(0,i.Ay)("remove-follower-warning",[e.user.sanitizedFullName]),cancelText:(0,i.Ay)("cancel"),okText:(0,i.Ay)("remove"),action:h,isSubtitleHTML:!0,title:(0,i.Ay)("delete-x",[(0,i.Ay)("follower")]),icon:l(98321),type:"secondary"})}async function h(){await e.user.removeFollower(),t("removeFollower")}return(t,l)=>((0,a.uX)(),(0,a.CE)("div",null,[e.user.isCurrentUser?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(r.A,{key:0,icon:(0,s.R1)(p),action:m,class:"whitespace-nowrap"},{default:(0,a.k6)(()=>[(0,a.bF)((0,s.R1)(i.Uz),{i18n:e.user.isMute?t.__("unmute-user"):t.__("mute-user")},{0:(0,a.k6)(()=>[(0,a.Lk)("bdi",c,(0,o.v_)(e.user.fullUserName),1)]),_:1},8,["i18n"])]),_:1},8,["icon"])),e.user.isCurrentUser?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(r.A,{key:1,icon:(0,s.R1)(v),action:f,class:"whitespace-nowrap"},{default:(0,a.k6)(()=>[(0,a.bF)((0,s.R1)(i.Uz),{i18n:e.user.isBlocked?t.__("unblock-user"):t.__("block-user")},{0:(0,a.k6)(()=>[(0,a.Lk)("bdi",d,(0,o.v_)(e.user.fullUserName),1)]),_:1},8,["i18n"])]),_:1},8,["icon"])),e.user.isFollower?((0,a.uX)(),(0,a.Wv)(r.A,{key:2,icon:n,action:k},{default:(0,a.k6)(()=>[(0,a.eW)((0,o.v_)(t.__("remove-follower")),1)]),_:1})):(0,a.Q3)("",!0)]))}});l.d(t,["A",0,p])},97273(e,t,l){var a=l(2435),s=l(69627);let o=["innerHTML"],n=(0,a.pM)({__name:"UserFullName",props:{user:{},noTooltip:{type:Boolean},noLink:{type:Boolean},tag:{}},setup(e){let t=(0,a.EW)(()=>!!e.user.isCurrentUser||e.noTooltip),l=(0,a.EW)(()=>e.tag?e.tag:e.noLink?"span":"router-link");return(n,r)=>((0,a.uX)(),(0,a.Wv)((0,a.$y)((0,s.R1)(l)),{class:"n-scquwg",dir:e.user.displayNameDirection,"data-userid":(0,s.R1)(t)?void 0:e.user.userID,to:e.noLink?void 0:e.user.link},{default:(0,a.k6)(()=>[(0,a.Lk)("span",{innerHTML:e.user.sanitizedFullName},null,8,o)]),_:1},8,["dir","data-userid","to"]))}});l.d(t,["A",0,n])},36588(e,t,l){var a=l(2435),s=l(69627),o=l(14643);let n=["role","data-userid","textContent"],r=(0,a.pM)({__name:"Username",props:{user:{},noLink:{type:Boolean},noTooltip:{type:Boolean}},setup(e){let t=(0,a.EW)(()=>!!e.user.isCurrentUser||e.noTooltip);return(l,r)=>((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.noLink?"span":"router-link"),{to:e.user.link,class:"wrap-zwnj"},{default:(0,a.k6)(()=>[(0,a.Lk)("bdi",{role:e.noLink?void 0:"button",class:"n-1t40d5","data-userid":(0,s.R1)(t)?void 0:e.user.userID,textContent:(0,o.v_)(e.user.fullUserName)},null,8,n)]),_:1},8,["to"]))}});l.d(t,["A",0,r])},70715(e,t,l){l(3362);var a=l(2435),s=l(46249),o=l(69627),n=l(46422),r=l(21206),i=l(97095),u=l(97949),c=l(79529),d=l(5634),p=l(96566),v=l(66666),m=l(68911),f=l(35011),y=l(73352);let g={class:"pb-bottom-nav"},k={key:0},h=(0,a.pM)({__name:"editHistory",setup(e){let t=(0,f.rd)(),l=(0,p.D)(),h=(0,u.m)("postID"),b=(0,y.KR)([]),{LoadingContainer:x,reset:C,result:w}=(0,i.A)(async()=>{let{post:e}=await l.getOrFetchPost({postID:h.value});return e.applyBaseRouteAddress(t),{histories:await e.getEditHistory(),post:e}});return(0,d.ch)(h,()=>C()),(e,t)=>{let l=(0,a.g2)("BaseHeader");return(0,a.uX)(),(0,a.CE)("div",g,[(0,a.bF)(l,{title:e.__("edit-history"),"center-section":"title","start-section":"back"},{top:(0,a.k6)(()=>[(0,a.bF)(m.A)]),_:1},8,["title"]),(0,a.bF)((0,o.R1)(x),null,{default:(0,a.k6)(()=>{var l;return[(0,o.R1)(w)?((0,a.uX)(),(0,a.CE)("div",k,[(0,o.R1)(w).post?((0,a.uX)(),(0,a.Wv)(r.A,{key:0,post:(0,o.R1)(w).post},null,8,["post"])):(0,a.Q3)("",!0),t[1]||(t[1]=(0,a.Lk)("hr",null,null,-1)),null!=(l=(0,o.R1)(w).histories)&&l.length?((0,a.uX)(),(0,a.Wv)(s.F,{key:1,name:"list"},{default:(0,a.k6)(()=>[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)((0,o.R1)(w).histories,(e,l)=>((0,a.uX)(),(0,a.CE)(a.FK,{key:e.date},[(0,a.bF)(v.A,{modelValue:(0,o.R1)(b)[l],"onUpdate:modelValue":e=>(0,o.R1)(b)[l]=e,date:e.date},null,8,["modelValue","onUpdate:modelValue","date"]),(0,o.R1)(b)[l]?((0,a.uX)(!0),(0,a.CE)(a.FK,{key:0},(0,a.pI)(e.editHistory,e=>((0,a.uX)(),(0,a.Wv)(c.A,{key:e.editedTime,"edited-post-history":e},null,8,["edited-post-history"]))),128)):(0,a.Q3)("",!0),t[0]||(t[0]=(0,a.Lk)("hr",null,null,-1))],64))),128))]),_:1})):((0,a.uX)(),(0,a.Wv)(n.A,{key:2,class:"mt-6",title:e.__("no-edit-history")},null,8,["title"]))])):(0,a.Q3)("",!0)]}),_:1})])}}});l.d(t,["A",0,h])},52372(e,t,l){l.d(t,{X:()=>i}),l(23792),l(62953);var a=l(2435),s=l(14643);let o={key:0,ref:"marqueeOverlayContainer",class:"transparent-overlay","aria-hidden":!0},n={ref:"marqueeContent",class:"marquee"}
1,r={key:2,"aria-hidden":!0,class:"marquee"};function i(e,t,l,i,u,c){return e.ready?((0,a.uX)(),(0,a.CE)("div",{key:e.componentKey,class:(0,s.C4)(["vue3-marquee",{vertical:e.vertical,horizontal:!e.vertical,"flex-row-reverse!":"reverse"===e.direction}]),style:(0,s.Tr)(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...t)=>e.hoverStarted&&e.hoverStarted(...t)),onMouseleave:t[1]||(t[1]=(...t)=>e.hoverEnded&&e.hoverEnded(...t)),onMousedown:t[2]||(t[2]=(...t)=>e.mouseDown&&e.mouseDown(...t)),onMouseup:t[3]||(t[3]=(...t)=>e.mouseUp&&e.mouseUp(...t))},[e.isClient?((0,a.uX)(),(0,a.CE)("div",o,null,512)):(0,a.Q3)("",!0),e.showGradient?((0,a.uX)(),(0,a.CE)("div",{key:1,"aria-hidden":!0,class:(0,s.C4)(["overlay",{vertical:e.vertical,horizontal:!e.vertical}])},null,2)):(0,a.Q3)("",!0),(0,a.Lk)("div",n,[(0,a.RG)(e.$slots,"default",{truncateClass:e.truncateClass})],512),e.animateOnOverflowOnly&&(!e.animateOnOverflowOnly||e.animateOnOverflowPause)?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("div",r,[(0,a.RG)(e.$slots,"default",{truncateClass:e.truncateClass})])),((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.cloneAmount,t=>((0,a.uX)(),(0,a.CE)("div",{key:t,"aria-hidden":!0,class:"marquee cloned"},[(0,a.RG)(e.$slots,"default",{truncateClass:e.truncateClass})]))),128))],38)):((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,s.C4)(["vue3-marquee",{"flex-row-reverse!":"reverse"===e.direction}]),style:(0,s.Tr)(e.isClient?e.getCurrentStyle:{})},[(0,a.RG)(e.$slots,"default",{truncateClass:e.truncateClass})],6))}},24157(e,t,l){let a=l(84718).A;l.d(t,["A",0,a])},38608(e,t,l){let a=l(40309).A;l.d(t,["A",0,a])},62557(e,t,l){let a=l(40754).A;l.d(t,["A",0,a])},15213(e,t,l){let a=l(96402).A;l.d(t,["A",0,a])},67793(e,t,l){let a=l(28067).A;l.d(t,["A",0,a])},73997(e,t,l){let a=l(23830).A;l.d(t,["A",0,a])},6520(e,t,l){var a=l(52372),s=l(5777);let o=(0,l(52920).A)(s.A,[["render",a.X]]);l.d(t,["A",0,o])},75732(e,t,l){let a=l(40465).A;l.d(t,["A",0,a])},210(e,t,l){let a=l(94055).A;l.d(t,["A",0,a])},63445(e,t,l){let a=l(70382).A;l.d(t,["A",0,a])},42479(e,t,l){let a=l(81676).A;l.d(t,["A",0,a])},7169(e,t,l){let a=l(17122).A;l.d(t,["A",0,a])},64428(e,t,l){let a=l(21736).A;l.d(t,["A",0,a])},71884(e,t,l){let a=l(42769).A;l.d(t,["A",0,a])},92614(e,t,l){let a=l(74027).A;l.d(t,["A",0,a])},69716(e,t,l){let a=l(15689).A;l.d(t,["A",0,a])},75941(e,t,l){let a=l(81834).Ay;l.d(t,["Ay",0,a])},24092(e,t,l){let a=l(78473).A;l.d(t,["A",0,a])},76245(e,t,l){let a=l(67298).A;l.d(t,["A",0,a])},67557(e,t,l){let a=l(59210).A;l.d(t,["A",0,a])},82860(e,t,l){let a=l(24121).A;l.d(t,["A",0,a])},34904(e,t,l){l.d(t,{A:()=>a});let a=l(56193).A},44388(e,t,l){let a=l(9857).A;l.d(t,["A",0,a])},85820(e,t,l){let a=l(46581).A;l.d(t,["A",0,a])},17e3(e,t,l){let a=l(87933).A;l.d(t,["A",0,a])},37011(e,t,l){let a=l(41592).A;l.d(t,["A",0,a])},94373(e,t,l){let a=l(31506).A;l.d(t,["A",0,a])},46422(e,t,l){let a=l(58867).A;l.d(t,["A",0,a])},7534(e,t,l){let a=l(43235).A;l.d(t,["A",0,a])},54233(e,t,l){let a=l(1730).A;l.d(t,["A",0,a])},29892(e,t,l){let a=l(61781).A;l.d(t,["A",0,a])},84920(e,t,l){let a=l(12793).A;l.d(t,["A",0,a])},92445(e,t,l){let a=l(3350).A;l.d(t,["A",0,a])},29035(e,t,l){let a=l(20696).A;l.d(t,["A",0,a])},36855(e,t,l){let a=l(30852).A;l.d(t,["A",0,a])},66499(e,t,l){let a=l(2116).A;l.d(t,["A",0,a])},39809(e,t,l){let a=l(35202).A;l.d(t,["A",0,a])},16773(e,t,l){let a=l(45350).A;l.d(t,["A",0,a])},18386(e,t,l){let a=l(54535).A;l.d(t,["A",0,a])},38882(e,t,l){let a=l(62779).A;l.d(t,["A",0,a])},41533(e,t,l){let a=l(77790).A;l.d(t,["A",0,a])},78934(e,t,l){let a=l(22307).A;l.d(t,["A",0,a])},49902(e,t,l){let a=l(65759).A;l.d(t,["A",0,a])},69270(e,t,l){let a=l(24992).A;l.d(t,["A",0,a])},29303(e,t,l){let a=l(67916).A;l.d(t,["A",0,a])},73729(e,t,l){let a=l(5810).A;l.d(t,["A",0,a])},3602(e,t,l){let a=l(87823).A;l.d(t,["A",0,a])},93208(e,t,l){let a=l(43737).A;l.d(t,["A",0,a])},26536(e,t,l){let a=l(78233).A;l.d(t,["A",0,a])},36992(e,t,l){let a=l(49165).A;l.d(t,["A",0,a])},99432(e,t,l){let a=l(69497).A;l.d(t,["A",0,a])},79529(e,t,l){let a=l(24418).A;l.d(t,["A",0,a])},91486(e,t,l){let a=l(9011).A;l.d(t,["A",0,a])},75893(e,t,l){let a=l(53526).A;
1l.d(t,["A",0,a])},45758(e,t,l){let a=l(3963).A;l.d(t,["A",0,a])},66666(e,t,l){let a=l(45219).A;l.d(t,["A",0,a])},69386(e,t,l){let a=l(88567).A;l.d(t,["A",0,a])},81447(e,t,l){l.d(t,{A:()=>a});let a=l(96672).A},44771(e,t,l){let a=l(98352).A;l.d(t,["A",0,a])},21206(e,t,l){let a=l(51599).A;l.d(t,["A",0,a])},52519(e,t,l){l.d(t,{A:()=>a});let a=l(67324).A},70093(e,t,l){l.d(t,{A:()=>a});let a=l(86170).A},77976(e,t,l){let a=l(35217).A;l.d(t,["A",0,a])},19168(e,t,l){let a=l(60925).A;l.d(t,["A",0,a])},52569(e,t,l){let a=l(21130).A;l.d(t,["A",0,a])},78784(e,t,l){let a=l(4645).A;l.d(t,["A",0,a])},98204(e,t,l){l.d(t,{A:()=>a});let a=l(57357).A},4956(e,t,l){l.d(t,{A:()=>a});let a=l(91217).A},15699(e,t,l){let a=l(46168).A;l.d(t,["A",0,a])},41007(e,t,l){let a=l(57184).A;l.d(t,["A",0,a])},9094(e,t,l){let a=l(12639).A;l.d(t,["A",0,a])},67261(e,t,l){l.d(t,{A:()=>a});let a=l(77586).A},91237(e,t,l){let a=l(52862).A;l.d(t,["A",0,a])},30701(e,t,l){let a=l(66110).A;l.d(t,["A",0,a])},65709(e,t,l){let a=l(354).A;l.d(t,["A",0,a])},8899(e,t,l){let a=l(38892).A;l.d(t,["A",0,a])},31166(e,t,l){let a=l(31047).A;l.d(t,["A",0,a])},24768(e,t,l){l.d(t,{Ay:()=>a});let a=l(49153).Ay},89785(e,t,l){let a=l(47634).A;l.d(t,["A",0,a])},96253(e,t,l){let a=l(92026).A;l.d(t,["A",0,a])},27846(e,t,l){let a=l(61607).A;l.d(t,["A",0,a])},16819(e,t,l){l.d(t,{A:()=>a});let a=l(916).A},60684(e,t,l){let a=l(75841).A;l.d(t,["A",0,a])},58508(e,t,l){let a=l(32353).A;l.d(t,["A",0,a])},98340(e,t,l){let a=l(76153).A;l.d(t,["A",0,a])},69250(e,t,l){let a=l(11611).A;l.d(t,["A",0,a])},12712(e,t,l){let a=l(24817).A;l.d(t,["A",0,a])},68911(e,t,l){let a=l(2092).A;l.d(t,["A",0,a])},90780(e,t,l){let a=l(93661).A;l.d(t,["A",0,a])},88640(e,t,l){let a=l(44897).A;l.d(t,["A",0,a])},15746(e,t,l){let a=l(71695).A;l.d(t,["A",0,a])},3656(e,t,l){let a=l(97273).A;l.d(t,["A",0,a])},6799(e,t,l){let a=l(36588).A;l.d(t,["A",0,a])},84386(e,t,l){l.r(t);let a=l(70715).A;l.d(t,["default",0,a])},64962(e,t,l){let a=[{reaction:"❤️",src:l(66826),animatedSrc:l(22737)},{reaction:"\uD83C\uDF39",src:l(57611),animatedSrc:l(2814)},{reaction:"\uD83D\uDE0D",src:l(73714),animatedSrc:l(70797)},{reaction:"\uD83D\uDC4D",src:l(21623),animatedSrc:l(2946)},{reaction:"\uD83D\uDC4E",src:l(19720),animatedSrc:l(34751)},{reaction:"\uD83D\uDC4F",src:l(62725),animatedSrc:l(40892)},{reaction:"\uD83D\uDE4F",src:l(77885),animatedSrc:l(4240)},{reaction:"\uD83D\uDCAA",src:l(15679),animatedSrc:l(3978)},{reaction:"\uD83D\uDE10",src:l(66175),animatedSrc:l(47422)},{reaction:"\uD83D\uDE2F",src:l(83699),animatedSrc:l(21418)},{reaction:"\uD83E\uDD14",src:l(42330),animatedSrc:l(76609)},{reaction:"\uD83D\uDE0A",src:l(86509),animatedSrc:l(15496)},{reaction:"\uD83D\uDE02",src:l(11369),animatedSrc:l(2e4)},{reaction:"☹️",src:l(4435),animatedSrc:l(25862)},{reaction:"\uD83D\uDE14",src:l(46378),animatedSrc:l(51305)},{reaction:"\uD83D\uDE2D",src:l(83958),animatedSrc:l(6125)},{reaction:"\uD83D\uDE22",src:l(26354),animatedSrc:l(44225)},{reaction:"\uD83D\uDE21",src:l(57152),animatedSrc:l(71107)},{reaction:"✊",src:l(53019),animatedSrc:l(98326)},{reaction:"\uD83E\uDD26",src:l(47466),animatedSrc:l(59485)}],s={},o={};a.forEach(e=>{s[e.reaction]=e.src,o[e.reaction]=e.animatedSrc}
1),l.d(t,["Eh",0,o,"f_",0,s,"pO",0,a])},90761(e,t,l){let a=(0,l(43051).s)({delay:100},e=>{e.scrollIntoView({behavior:"smooth",block:"start"})});l.d(t,["A",0,{mounted(e){requestAnimationFrame(()=>{a(e)})}}])},50327(e,t,l){l.d(t,{Z:()=>s}),l(89463);var a=l(2435);function s(e){let t=Symbol("provide-inject-symbol");return[function(e){(0,a.Gt)(t,e)},function(){return(0,a.WQ)(t,e)}]}},21413(e,t,l){l(23792),l(62953);var a=l(50327),s=l(2435);let[o,n]=(0,a.Z)((0,s.EW)(()=>null));l.d(t,["S",0,n,"g",0,o])},73754(e,t,l){l.d(t,{y:()=>o});var a=l(64639),s=l(2435);function o(e){let t=(0,s.WQ)("active");return(0,a.t)(t,e)}},40427(e,t,l){l.d(t,{P:()=>r});var a=l(94302),s=l(76289),o=l(45179),n=l(69627);function r(e){if(!a.tw.hasGapInterOperation)return;let t=(0,s.uG)(t=>{null!=o.p&&o.p.hasModal()||e(t)});(0,n.jr)(t)}},82189(e,t,l){l.d(t,{T:()=>n});var a=l(90622),s=l(73352),o=l(2435);function n(e={}){let t,{copyIcon:r=l(19504),successIconDuration:i=2e3}=e,u=(0,s.KR)(!1),c=(0,o.EW)(()=>u.value?l(52983):r);return{copied:u,copy:function(e){e&&((0,a.Kn)(e),u.value=!0,t&&clearTimeout(t),t=setTimeout(()=>{u.value=!1},i))},icon:c}}},21368(e,t,l){l.d(t,{WQ:()=>m}),l(23792),l(13609),l(3362),l(62953);var a=l(69627),s=l(97095),o=l(5634),n=l(24157),r=l(42413),i=l(24834),u=l(91827),c=l(35011),d=l(2435);let p=(0,r.x3)(),v="page";async function m(e,{autoAbort:t=!1,autoFinish:l=!0,autoFinishUp:r=!0,direction:f="down",pageID:y,result:g=(0,a.KR)(),isVisibleShowMoreButton:k=!1,downButtonText:h=""}={}){let b,x=(0,c.rd)(),C=null==y?void 0:y.value,w=(0,a.KR)(!1),R=(0,a.KR)(!1),A=(0,a.KR)(!1),_=(0,a.KR)(!1),L=(0,a.KR)(!1),E=(0,a.KR)(!1),W=(0,a.o5)();function X(){R.value=!0}function M(){w.value=!0}let F=(0,d.EW)(()=>null!=y&&y.value?(0,o.Ci)(x.currentRoute.value.fullPath,v,`${y.value}`):"");(0,i.u)({link:()=>null!=y&&y.value&&!w.value?[{rel:"next",href:F.value}]:[]});let{LoadingContainer:B,reset:T,loading:Q}=(0,s.A)(async()=>{let t=String(x.currentRoute.value.query[v]||"");t&&y&&(!y.value||"0"===y.value)&&(y.value=t);let a=await e({action:"",finish:M,finishUp:X});return a.length<=0&&(l&&M(),r&&X()),a},{result:g}),S=(0,d.EW)(()=>A.value||Q.value),z=(0,d.EW)(()=>L.value||Q.value),D=a=>{var s;if(S.value&&"down"===a||z.value&&"up"===a||"up"===a&&R.value||"up"!==a&&w.value)return;null==(s=b)||s.stop(),t&&(A.value=!1,L.value=!1);let n=(0,u.k)(W);b=n,"down"===a?A.value=!0:L.value=!0,n.run(async()=>e({action:a,finish:()=>{(!t||n.active)&&M()},finishUp:()=>{(!t||n.active)&&X()}})).then(e=>{(!t||n.active)&&(r&&e.length<=0&&"up"===a&&X(),l&&e.length<=0&&"up"!==a&&M(),"up"===a?(g.value.unshift(...e),E.value=!1,L.value=!1):(g.value=g.value.concat(e),_.value=!1,A.value=!1))}).catch(e=>{(!t||n.active)&&(("down"===a&&_.value||!p)&&(0,o.wH)(e),("up"===a&&E.value||!p)&&(0,o.wH)(e),"down"===a?(_.value=!0,A.value=!1):(E.value=!0,L.value=!1))})},P=(0,a.KR)(!1),$=(0,a.KR)(!1);function K(e){P.value=e}function V(e){$.value=e}return{WrapperContainer:(e,t)=>(0,d.h)(n.A,{...e,loadingDown:A.value,loadingUp:L.value,finishedDown:w.value,finishedUp:R.value,result:g.value,getNextPage:D,loadingComponent:B,errorDown:_.value,errorUp:E.value,direction:f,onIntersectingDownChanged:K,onIntersectingUpChanged:V,nextPageLink:F.value,pageID:null==y?void 0:y.value,isVisibleShowMoreButton:k,downButtonText:h},{default:t.slots.default,"finish-up":t.slots["finish-up"]}),result:g,loadNextPage:()=>D("down"),finish:M,finishUp:X,loading:S,error:_,reset:function(e){if(t){var l;null==(l=b)||l.stop(),b=void 0}return y&&(y.value=C),w.value=!1,R.value=!1,A.value=!1,_.value=!1,L.value=!1,E.value=!1,T(e)},isIntersectingDown:P,isIntersectingUp:$,finishedDown:w}}},88631(e,t,l){l.d(t,{P:()=>o});var a=l(73352),s=l(2435);function o(e){let{isOpen:t,post:l,reactionsEnabled:o,actionsEnabled:n}=e,r=(0,a.KR)(null),i=(0,s.EW)(()=>l.value?`${l.value.ID}_${o.value}_${n.value}`:null),u=(0,s.EW)(()=>!!i.value&&i.value===r.value);function c(){r.value=null}return(0,s.wB)(t,e=>{e||c()}),(0,s.wB)(l,c),{isDownloaded:u,markAsDownloaded:function(){r.value=i.value},reset:c}}},19535(e,t,l){l.d(t,{$:()=>c}),l(18111),l(61701),l(3362);var a=l(64962),s=l(6417),o=l(78239),n=l(69627),r=l(73352),i=l(2435),u=l(290);function c(e){let t=a.pO.map(e=>e.reaction),l=(0,r.KR)({x:0,y:0}),c=(0,r.KR)(!1),d=(0,i.EW)(()=>(0,n.BA)(e));async function p(e){e.preventDefault(),await (0,o.z)(),l.value={x:e.clientX,y:e.clientY},c.value=!0}
1async function v(e){d.value&&(await (0,o.z)(),await d.value.toggleReaction(e),c.value=!1)}return{reactions:t,position:l,isOpenReactionPicker:c,isReactionButtonEnabled:(0,i.EW)(()=>{var e;return!(0,s.k)().isLogin||(0,u.$3)("setReaction",null==(e=d.value)?void 0:e.community)}),openReactionPicker:p,selectReaction:v}}},97949(e,t,l){l.d(t,{m:()=>o,x:()=>n});var a=l(81727),s=l(21820);function o(e){let t=(0,a.t)();return(0,s.AI)(()=>t.params[e])}function n(e){let t=(0,a.t)();return(0,s.AI)(()=>t.query[e])}},52939(e,t,l){l.d(t,{M:()=>c,m:()=>u}),l(18111),l(81148),l(22489),l(61701),l(3362);var a=l(5634),s=l(21820),o=l(69627),n=l(73352),r=l(2435);let i="validation";function u(e,{validate:t=!0,noValidateOnSubmit:l=!1}={}){let c={};for(let t in e)c[t]=e[t].default;let d=(0,n.Kh)(c),p={};for(let t in e)p[t]={touched:!1,valid:!1};let v=(0,n.Kh)(p),m=(0,r.EW)(()=>Object.values(v).every(e=>e.valid)),f=(0,n.KR)(0),y=(0,n.KR)(s.lQ),g=(0,n.KR)(!1);async function k(e){null==e||e.preventDefault();let t=(0,o.R1)(l);if(!g.value&&(f.value++,m.value||t))try{g.value=!0,await y.value()}catch(e){(0,a.wH)(e)}finally{g.value=!1}}let h={formSchema:e,formValues:d,formValidity:v,trySubmitTimes:f,validate:(0,o.KR)(t)};return(0,r.Gt)(i,h),{form:d,validity:v,valid:m,submitLoading:g,handleSubmit:k,trySubmitTimes:f,onSubmit:function(e){y.value=e}}}function c(e){if(!e)return;let t=(0,r.WQ)(i);if(!t)return void console.error("parent form is not existed!");let l=(0,r.EW)(()=>t.formSchema[e]),a=(0,o.lW)(t.formValues,e),{touched:s,valid:n}=(0,o.QW)(t.formValidity[e]),u=(0,r.EW)(()=>{var e;return(null==(e=l.value.validate)?void 0:e.map(e=>e(a.value)).filter(e=>!0!==e))||[]});(0,r.wB)(u,e=>{n.value=0===e.length},{immediate:!0});let c=(0,r.EW)(()=>t.validate.value&&(0!==t.trySubmitTimes.value||s.value)&&0!==u.value.length?u.value:null);return{errors:u,visibleErrors:c,valid:n,touched:s,value:a,validate:t.validate}}},62021(e,t,l){let a;l(23792),l(3362),l(62953),l(3296),l(27208),l(48408),l(14603),l(47566),l(98721);var s=l(54968);l.d(t,["l",0,{async decode(e){let t=function(){if(!a){let e=new Worker(new URL(l.p+l.u(4609),l.b));a=(0,s.LV)(e)}return a}();return t?t.decode(e):""}}])},78239(e,t,l){l.d(t,{z:()=>u}),l(44114),l(3362);var a=l(66235),s=l(6417),o=l(45179),n=l(29245),r=l(79201),i=l(84971);async function u(){if(!(0,s.k)().isLogin)throw await (0,n.fH)({subtitle:(0,r.Ay)("login-to-enter-page"),action:async()=>{o.p&&((0,a.wD)(o.p.currentRoute.value.fullPath),await o.p.push("/login"))},okText:(0,r.Ay)("login-or-signup"),type:"primary",title:(0,r.Ay)("login-to-account"),icon:l(38216)}),(0,i.mT)({message:(0,r.Ay)("login-to-enter-page"),ignore:!0})}},14539(e,t,l){function a(e){let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(!t)throw Error("Invalid hex color format");return{r:Number.parseInt(t[1],16),g:Number.parseInt(t[2],16),b:Number.parseInt(t[3],16)}}l.d(t,{E:()=>a}),l(16280)},43983(e){e.exports='<svg fill="none" viewBox="0 0 20 20"><path fill="currentColor" d="M7.292 17.5v-15h1.666v15zm7.708 0V7.083h1.667V17.5zm-11.667 0 .004-8.333h1.666L5 17.5zm7.707 0v-5.833h1.667V17.5z"/></svg>'},20369(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M4 8.42 5.414 7l7.043 7.05L19.5 7l1.414 1.42-8.457 8.45z"/></svg>'},89750(e){e.exports='<svg fill="none" viewBox="0 0 10 10"><path fill="currentColor" d="M5.19 8.333 2.083 5.23l.589-.592 2.101 2.105V1.079h.833v5.663l2.102-2.105.589.592z"/></svg>'},827(e){e.exports='<svg fill="none" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M5.33 7.7a.682.682 0 0 0-.964.964l5.304 5.303a.68.68 0 0 0 .964 0l5.303-5.303a.682.682 0 1 0-.964-.964l-4.821 4.82z" clip-rule="evenodd"/></svg>'},82636(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M4 4.5A2.5 2.5 0 0 1 6.5 2h11A2.5 2.5 0 0 1 20 4.5v18.44l-8-5.71-8 5.71zM6.5 4c-.276 0-.5.22-.5.5v14.56l6-4.29 6 4.29V4.5c0-.28-.224-.5-.5-.5z"/></svg>'},20771(e){e.exports='<svg fill="none" viewBox="0 0 100 100"><g fill="currentColor" clip-path="url(#call-outline_svg__a)"><path d="M86.202 65.067a15.7 15.7 0 0 0-1.619-3.395.6.6 0 0 0-.115-.22c-.021-.2-.169-.316-.274-.4l-.368-.347-.746-.42h-.252l-20.915-3.027h-.641l-.21.01c-.084 0-.2.042-.347.063l-1.514.946a18.3 18.3 0 0 0-3.741 4.488c-8.209-3.416-14.83-10.048-18.256-18.256a17.9 17.9 0 0 0 4.929-4.267 2 2 0 0 0 .179-.263c.042-.063.094-.137.136-.21l.042-.147.074-.137c.052-.105.084-.2.126-.378v-.725l-2.68-20.653v-.073l-.053-.242v-.252l-.031-.147c-.021-.064-.053-.127-.084-.19a.6.6 0 0 0-.095-.21l-.294-.43v-.095l-.568-.463-.536-.179a16.3 16.3 0 0 0-3.352-1.587A16.4 16.4 0 0 0 29.342 13a17.83 17.83 0 0 0-12.044 5.213 17.86 17.86 0 0 0-5.266 12.034C11.507 45.38 17.266 60.285 27.84 71.13 38.297 81.861 52.853 88 67.83 88h1.923a17.82 17.82 0 0 0 12.045-5.245A17.9 17.9 0 0 0 87.032 70.7a16.8 16.8 0 0 0-.84-5.633zM29.468 19c1.22-.042 2.418.158 3.574.536.41.126.798.294 1.166.473l2.344 17.436-1.23 1.093-.452.337c-.283.189-.567.367-.84.525-.063.031-.126.074-.2.116s-.137.084-.21.126l-.063.031c-.4.21-.83.41-1.272.568a3.027 3.027 0 0 0-1.818 3.784C34.419 56.028 43.94 65.55 55.943 69.502c.179.053.358.095.6.126h1.071l.116-.021a3 3 0 0 0 .452-.179 4 4 0 0 0 .452-.273l.115-.084c.095-.074.19-.158.337-.315l.136-.158c.042-.063.095-.126.148-.2l.136-.22c.074-.137.126-.274.179-.4.189-.473.389-.925.61-1.324.063-.126.136-.242.23-.4.158-.294.348-.578.537-.85l.315-.432c.21-.262.41-.504.62-.746l.494-.504 17.426 2.343c.147.326.284.663.42 1.051a.5.5 0 0 1 .042.116c.39 1.167.568 2.386.536 3.615-.21 6.17-5.213 11.173-11.393 11.393-13.82.494-27.263-4.834-36.995-14.598-9.701-9.764-14.977-23.27-14.452-37.048.21-6.18 5.213-11.183 11.393-11.393"/><path d="M51.371 34.325c-1.713-.053-3.058 1.345-3.058 3.027a3.02 3.02 0 0 0 3.016 3.027c2.207 0 4.341.872 5.886 2.417a8.34 8.34 0 0 1 2.417 5.896 3.028 3.028 0 0 0 6.054.01c0-3.836-1.482-7.451-4.193-10.163a14.22 14.22 0 0 0-10.132-4.193z"/><path d="M73.937 51.698a3.025 3.025 0 0 0 3.016-3.027c0-6.842-2.67-13.285-7.504-18.12-4.835-4.834-11.267-7.504-18.12-7.504a3.025 3.025 0 0 0-2.133 5.16 3 3 0 0 0 2.133.884c5.16 0 10.206 2.091 13.842 5.728A19.7 19.7 0 0 1 70.9 48.66a3.03 3.03 0 0 0 3.027 3.027z"/><path d="M51.34 19.747c7.725 0 14.998 3.006 20.463 8.471 5.465 5.466 8.471 12.728 8.471 20.464a3.028 3.028 0 0 0 6.054 0c0-9.218-3.731-18.225-10.237-24.741-6.527-6.506-15.534-10.248-24.74-10.248-1.63-.01-3.038 1.346-3.038 3.027a3.034 3.034 0 0 0 3.027 3.027"/></g><defs><clipPath id="call-outline_svg__a"><path fill="#fff" d="M12 13h75.053v75H12z"/></clipPath></defs></svg>'},52774(e){e.exports='<svg fill="none" viewBox="0 0 13 13"><g fill="currentColor" clip-path="url(#check-circle-outline_svg__a)"><path d="M8.63 4.477a.377.377 0 0 0-.52.109L6.035 7.768 5.01 6.743a.375.375 0 0 0-.53.53l1.35 1.352a.374.374 0 0 0 .53 0c.03-.03.207-.303.207-.303L8.74 4.996a.376.376 0 0 0-.11-.52h.002Z"/><path d="M6.696 11.897A5.38 5.38 0 0 1 1.32 6.522a5.38 5.38 0 0 1 5.375-5.375 5.38 5.38 0 0 1 5.375 5.375 5.38 5.38 0 0 1-5.375 5.375Zm0-10A4.63 4.63 0 0 0 2.07 6.522a4.63 4.63 0 0 0 4.625 4.625 4.63 4.63 0 0 0 4.625-4.625 4.63 4.63 0 0 0-4.625-4.625Z"/></g><defs><clipPath id="check-circle-outline_svg__a"><path fill="#fff" d="M.696.522h12v12h-12z"/></clipPath></defs></svg>'},68988(e){e.exports='<svg fill="none" viewBox="0 0 24 24">
1<path fill="currentColor" d="M12 2C6.516 2 2 6.516 2 12s4.516 10 10 10 10-4.516 10-10S17.484 2 12 2m0 17.742a7.57 7.57 0 0 1-7.58-7.58A7.57 7.57 0 0 1 12 4.58a7.57 7.57 0 0 1 7.58 7.58c0 4.033-3.386 7.58-7.58 7.58Z"/><path fill="currentColor" d="M17.484 15.387c-.161.322-.645.645-.968.645-.161 0-.484 0-.645-.161l-5-3.226V7.806c0-.645.484-1.29 1.29-1.29.646 0 1.29.484 1.29 1.29v3.549l3.872 2.419c.322.323.484.968.161 1.613"/></svg>'},91842(e){e.exports='<svg fill="none" viewBox="0 0 10 11"><path fill="currentColor" d="m5.88 5.391 3.605-3.604a.623.623 0 0 0-.88-.88L5 4.51 1.395.907a.623.623 0 0 0-.88.88L4.12 5.39.515 8.996a.623.623 0 0 0 .88.88L5 6.27l3.605 3.605a.62.62 0 0 0 .88 0 .623.623 0 0 0 0-.88z"/></svg>'},2180(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="m16.37 2 5.45 5.46-5.45 5.46-1.42-1.42L18 8.46H3.41v-2H18l-3.05-3.04zM6.82 18.46l3.05 3.04-1.42 1.42L3 17.46 8.45 12l1.42 1.42-3.05 3.04h14.59v2z"/></svg>'},65872(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1z"/><path fill="currentColor" fill-rule="evenodd" d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11m-2.2 0a8.8 8.8 0 1 1-17.6 0 8.8 8.8 0 0 1 17.6 0" clip-rule="evenodd"/></svg>'},57376(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M2 4.5A2.5 2.5 0 0 1 4.5 2h15A2.5 2.5 0 0 1 22 4.5V12h-2V4.5c0-.28-.22-.5-.5-.5h-15c-.28 0-.5.22-.5.5v15c0 .28.22.5.5.5H12v2H4.5A2.5 2.5 0 0 1 2 19.5zm9.87 10.25a2.88 2.88 0 1 1 5.76 0 2.88 2.88 0 0 1-5.76 0m2.88-4.62a4.62 4.62 0 1 0 2.593 8.443l2.042 2.042 1.23-1.23-2.042-2.041a4.62 4.62 0 0 0-3.823-7.213ZM7 7h7v2H7zm0 4h2v2H7z" clip-rule="evenodd"/></svg>'},20739(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M13.004 3.812v16.376a8.18 8.18 0 0 0 4.83-2.354 8.245 8.245 0 0 0 0-11.668 8.18 8.18 0 0 0-4.83-2.354M4.752 19.248C.749 15.246.749 8.754 4.752 4.752 8.754.75 15.245.75 19.247 4.752c4.003 4.002 4.003 10.494 0 14.496-4.002 4.002-10.493 4.002-14.495 0"/></svg>'},29976(e){e.exports='<svg fill="none" viewBox="0 0 21 20"><path fill="currentColor" fill-rule="evenodd" d="M17.083 13.007h.01V7.935c0-.66-.534-1.196-1.195-1.196h-1.087q-.32.002-.616.084V5.036a2.283 2.283 0 0 0-3.142-2.115 2.283 2.283 0 0 0-4.29.65 2.283 2.283 0 0 0-2.93 2.19v6.884c0 .83.175 1.652.512 2.416a6.3 6.3 0 0 0 1.45 2.035 6.7 6.7 0 0 0 2.148 1.347 6.99 6.99 0 0 0 5.04 0 6.7 6.7 0 0 0 2.15-1.347 6.3 6.3 0 0 0 1.448-2.035 6 6 0 0 0 .502-2.054M6.116 5.145c.34 0 .616.276.616.616v3.623h1.666V3.949a.616.616 0 1 1 1.232 0v5.073h1.667V5.036a.616.616 0 1 1 1.232 0V10h-.073a2.283 2.283 0 0 0-2.282 2.282v1.812h1.666v-1.812c0-.34.276-.616.616-.616h1.735v-.47h.004V9.02c0-.34.276-.615.616-.615h.616v4.239a4.3 4.3 0 0 1-.37 1.743 4.6 4.6 0 0 1-1.064 1.492 5 5 0 0 1-1.613 1.009 5.3 5.3 0 0 1-1.917.357 5.3 5.3 0 0 1-1.916-.357 5 5 0 0 1-1.613-1.01 4.6 4.6 0 0 1-1.064-1.491 4.3 4.3 0 0 1-.37-1.743V5.76c0-.34.275-.616.616-.616Z" clip-rule="evenodd"/></svg>'},64415(e){e.exports='<svg fill="none" viewBox="0 0 100 100"><g clip-path="url(#header-search-outline_svg__a)"><path fill="currentColor" fill-rule="evenodd" d="M74.966 67.94a34.23 34.23 0 0 0 6.813-20.55C81.78 28.395 66.384 13 47.39 13S13 28.395 13 47.39s15.395 34.39 34.39 34.39c7.62 0 14.665-2.483 20.37-6.675L80.654 88l7.19-7.19-12.878-12.88zm-9.39-4.39a24.22 24.22 0 0 0 6.143-16.16c0-13.436-10.893-24.338-24.338-24.338S23.042 33.945 23.042 47.39 33.935 71.728 47.38 71.728c6.203 0 11.865-2.32 16.16-6.142l2.028-2.028h.008z" clip-rule="evenodd"/></g><defs><clipPath id="header-search-outline_svg__a"><path fill="#fff" d="M13 13h74.845v75H13z"/></clipPath></defs></svg>'},34999(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M14.896 8.879a4.01 4.01 0 0 0-4.86-.618L3.775 2 2.361 3.414l2.428 2.429c-2.478 2.421-3.606 5.376-3.658 5.513L1 11.707l.131.351c.133.353 3.331 8.649 10.937 8.649 2.063 0 3.989-.622 5.737-1.849l2.556 2.556L21.775 20l-6.261-6.261a4.006 4.006 0 0 0-.618-4.86m-1.414 1.414c.522.522.695 1.264.518 1.932l-2.449-2.449a2 2 0 0 1 1.931.517M3.153 11.706c.107-.24.272-.588.497-1.002l7.993 7.992c-5.14-.279-7.85-5.563-8.489-6.989zm13.21 5.71a8.1 8.1 0 0 1-2.175.996L4.74 8.965c.412-.57.899-1.158 1.464-1.708l10.16 10.16zm6.772-5.71-.131.352c-.062.164-.801 2.055-2.33 4.027l-1.438-1.438a15.8 15.8 0 0 0 1.746-2.941c-.658-1.467-3.5-7-8.915-7-.712 0-1.376.1-2 .27V2.93a9.8 9.8 0 0 1 2-.223c7.605 0 10.804 8.296 10.937 8.648l.131.352z"/></svg>'},42047(e){e.exports='<svg fill="none" viewBox="0 0 24 24">
1<path fill="currentColor" d="M21.503 6.745a8.1 8.1 0 0 1 .748 3.385 8.13 8.13 0 0 1-4.196 7.11l-8.054 4.459v-3.452l2-2v2.06l5.086-2.816a6.13 6.13 0 0 0 2.878-7.207zM3.71 21.71l-1.414-1.414 3.401-3.401A8.01 8.01 0 0 1 1.751 10c0-4.411 3.591-8 8.005-8h4.366c1.818 0 3.494.608 4.849 1.62l1.325-1.325 1.414 1.414zm3.462-6.29L17.545 5.047A6.1 6.1 0 0 0 14.123 4H9.757c-3.311 0-6.005 2.691-6.005 6 0 2.389 1.4 4.451 3.42 5.42"/></svg>'},72111(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M18.36 5.64a4.985 4.985 0 0 0-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.41a4.985 4.985 0 0 0 0-7.07m-2.12 3.53-7.07 7.07-1.41-1.41 7.07-7.07zm-12.02.71 1.42-1.42 1.41 1.42-1.41 1.41a4.985 4.985 0 0 0 0 7.07 4.985 4.985 0 0 0 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.9"/></svg>'},45688(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M3 4.5A2.5 2.5 0 0 1 5.5 2h13A2.5 2.5 0 0 1 21 4.5v15a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5zM5.5 4c-.28 0-.5.22-.5.5v15c0 .28.22.5.5.5h13c.28 0 .5-.22.5-.5v-15c0-.28-.22-.5-.5-.5zM16 10H8V8h8zm-8 2h8v2H8z"/></svg>'},67278(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M14 19a2 2 0 1 0-4 0 2 2 0 0 0 4 0m0-7a2 2 0 1 0-4 0 2 2 0 0 0 4 0m0-7a2 2 0 1 0-4 0 2 2 0 0 0 4 0"/></svg>'},91067(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M14 19a2 2 0 1 0-4 0 2 2 0 0 0 4 0m0-7a2 2 0 1 0-4 0 2 2 0 0 0 4 0m0-7a2 2 0 1 0-4 0 2 2 0 0 0 4 0"/></svg>'},80489(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M5 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4m7 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4m7 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4"/></svg>'},99604(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M10 3H5v18h5zm9 0h-5v18h5z"/></svg>'},93388(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M22.016 10.877a1.297 1.297 0 0 1 0 2.246L6.945 21.824A1.297 1.297 0 0 1 5 20.702V3.298C5 2.3 6.08 1.677 6.945 2.176z"/></svg>'},93197(e){e.exports='<svg fill="none" viewBox="0 0 17 17"><g fill="currentColor" clip-path="url(#playing-outline_svg__a)"><path d="m7.363 11.923 4.928-2.846a.667.667 0 0 0 0-1.154L7.363 5.077a.667.667 0 0 0-1 .578v5.69c0 .513.556.834 1 .578"/><path fill-rule="evenodd" d="M8.697 15.833a7.333 7.333 0 1 0 0-14.666 7.333 7.333 0 0 0 0 14.666m0-1.466a5.867 5.867 0 1 0 0-11.734 5.867 5.867 0 0 0 0 11.734" clip-rule="evenodd"/></g><defs><clipPath id="playing-outline_svg__a"><path fill="currentColor" d="M.695.5h16v16h-16z"/></clipPath></defs></svg>'},38211(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M11.049 11.049 11.042 4h2.008l-.007 7.049 7.047-.007v2.008l-7.047-.007.007 7.047h-2.008l.007-7.047L4 13.05v-2.008z"/></svg>'},75071(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M14.23 3.733a2.504 2.504 0 0 1 3.54 0l3.38 3.378c.97.977.97 2.559 0 3.536L9.91 21.879H3v-6.914z"/></svg>'},16223(e){e.exports='<svg fill="none" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M15.417 1.667c1.15 0 2.083.933 2.083 2.083v12.5c0 1.15-.933 2.083-2.083 2.083H4.583A2.084 2.084 0 0 1 2.5 16.25V3.75c0-1.15.933-2.083 2.083-2.083zM4.583 3.333a.413.413 0 0 0-.416.417v12.5a.42.42 0 0 0 .12.296c.075.075.18.12.296.12h10.834a.413.413 0 0 0 .416-.416V3.75a.43.43 0 0 0-.12-.296.42.42 0 0 0-.296-.12z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m10.425 9.308-.825.659a1.9 1.9 0 0 0-.433.483 1.3 1.3 0 0 0-.142.625v.558h1.75v-.383q0-.237.075-.375c.058-.1.158-.208.3-.333l.725-.609c.775-.658 1.167-1.391 1.167-2.208 0-.733-.267-1.3-.792-1.7q-.797-.61-2.258-.608c-.925 0-1.659.208-2.217.616q-.815.625-.817 1.675 0 .298.075.659l1.725.125a2.6 2.6 0 0 1-.066-.542c0-.367.116-.65.333-.858.233-.209.55-.309.942-.309s.691.1.908.292.317.467.317.808c0 .284-.059.534-.184.759-.116.225-.308.45-.583.666m-.483 5.275c-.309 0-.575-.1-.775-.308q-.3-.31-.3-.783c0-.325.1-.584.3-.792s.466-.308.775-.308c.325 0 .583.1.783.308.208.208.308.467.308.792q.002.473-.308.783c-.2.208-.458.308-.783.308" clip-rule="evenodd"/></svg>'},83266(e){e.exports='<svg fill="none" viewBox="0 0 24 24">
1<path fill="currentColor" d="M22.5 11.249q0 .378-.027.751h-2.007q.034-.37.034-.75v-.001c0-4.549-3.701-8.25-8.25-8.25S4 6.701 4 11.25c0 4.465 3.566 8.114 8 8.246v2C6.463 21.363 2 16.818 2 11.25 2 5.598 6.598 1 12.25 1S22.5 5.598 22.5 11.25z"/><path fill="currentColor" d="M8.25 8.75c0-1.381.672-2.5 1.5-2.5s1.5 1.119 1.5 2.5-.672 2.5-1.5 2.5-1.5-1.119-1.5-2.5m6.5 2.5c.828 0 1.5-1.119 1.5-2.5s-.672-2.5-1.5-2.5-1.5 1.119-1.5 2.5.672 2.5 1.5 2.5m-5.551 1.684c.03.089.827 2.316 3.051 2.316l.001.001c2.223 0 3.02-2.227 3.053-2.322l1.896.638c-.051.151-1.271 3.684-4.949 3.684s-4.899-3.534-4.949-3.684zM18 15v3h-3v2h3v3h2v-3h3v-2h-3v-3z"/></svg>'},84163(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M15 4h4a1 1 0 0 1 1 1v4h2V5a3 3 0 0 0-3-3h-4zM9 22v-2H5a1 1 0 0 1-1-1v-4H2v4a3 3 0 0 0 3 3zM4 9V5a1 1 0 0 1 1-1h4V2H5a3 3 0 0 0-3 3v4zm18 6h-2v4a1 1 0 0 1-1 1h-4v2h4a3 3 0 0 0 3-3zM9 12a3 3 0 1 1 6 0 3 3 0 0 1-6 0m3-5a5 5 0 1 0 0 10 5 5 0 0 0 0-10" clip-rule="evenodd"/></svg>'},99097(e){e.exports='<svg fill="none" viewBox="0 0 20 20"><path fill="currentColor" d="m1.668 18.11.438-1.757c.008-.033.808-3.28.808-6.465s-.8-6.433-.808-6.464l-.439-1.758 16.444 8.222zm2.897-7.389a31.5 31.5 0 0 1-.486 4.32l10.305-5.153L4.08 4.736c.202 1.124.425 2.684.486 4.32h3.35v1.666h-3.35Z"/></svg>'},27422(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M18.5 2a3.5 3.5 0 0 0-3.484 3.838L8.082 9.537a3.5 3.5 0 1 0 .153 4.548l6.752 3.635a3.5 3.5 0 1 0 .985-1.741l-6.986-3.761a3.6 3.6 0 0 0-.031-.88l6.822-3.639A3.5 3.5 0 1 0 18.5 2M17 5.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0M5.5 10.4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m11.4 8.1a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0" clip-rule="evenodd"/></svg>'},18531(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.25 2C6.59 2 2 6.59 2 12.25S6.59 22.5 12.25 22.5 22.5 17.91 22.5 12.25 17.91 2 12.25 2M4 12.25C4 7.69 7.7 4 12.25 4c1.92 0 3.68.65 5.09 1.75l-4.022 4.019 1.416 1.417L18.75 7.17c1.1 1.4 1.75 3.16 1.75 5.08 0 4.56-3.69 8.25-8.25 8.25-1.92 0-3.68-.65-5.08-1.75l3.787-3.787-1.419-1.418L5.75 17.33A8.24 8.24 0 0 1 4 12.25" clip-rule="evenodd"/></svg>'},89370(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M13.258 1.53A5.5 5.5 0 0 0 19 10.32v12.15l-8-5.71-8 5.71V4.03a2.5 2.5 0 0 1 2.5-2.5z"/><path fill="currentColor" d="m14 2.966 2.068 2.064L14 7.093l1.432 1.437L17.5 6.456l2.068 2.074L21 7.093 18.932 5.03 21 2.966 19.568 1.53 17.5 3.603 15.432 1.53z"/></svg>'},49449(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M18 1.2v21.6L8.71 17H5.5A2.5 2.5 0 0 1 3 14.5v-5A2.5 2.5 0 0 1 5.5 7h3.21zM8 9H5.5c-.28 0-.5.22-.5.5v5c0 .28.22.5.5.5H8zm2 6.45 6 3.75V4.8l-6 3.75z"/></svg>'},12132(e){e.exports='<svg fill="none" viewBox="0 0 20 20"><g clip-path="url(#user-add-outline_svg__a)"><path fill="currentColor" d="M8.333 3.333c-.92 0-1.666.75-1.666 1.667s.746 1.667 1.666 1.667C9.254 6.667 10 5.917 10 5s-.746-1.667-1.667-1.667M5 5a3.333 3.333 0 1 1 6.666 0A3.333 3.333 0 0 1 5 5m10.833 3.333v2.5H17.5v-2.5H20V6.667h-2.5v-2.5h-1.667v2.5h-2.5v1.666zm-12.79 7.5h10.581c-.28-1.5-.852-2.675-1.62-3.491-.906-.967-2.139-1.509-3.67-1.509s-2.765.542-3.67 1.509c-.769.816-1.34 1.991-1.621 3.491m.405-4.633c1.241-1.325 2.925-2.033 4.885-2.033s3.645.708 4.886 2.033c1.231 1.317 1.972 3.167 2.194 5.383l.091.917H1.163l.091-.917c.222-2.216.963-4.066 2.194-5.383"/></g><defs><clipPath id="user-add-outline_svg__a"><path fill="currentColor" d="M0 0h20v20H0z"/></clipPath></defs></svg>'},61944(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M18.6 19.9c-.266-2.66-1.155-4.88-2.632-6.46-1.49-1.59-3.511-2.44-5.863-2.44s-4.373.85-5.863 2.44c-1.477 1.58-2.366 3.8-2.632 6.46L1.5 21h17.21zM6.105 6a4 4 0 1 1 8 0 4 4 0 0 1-8 0m12.43 5.828 5.415-5.414L22.535 5l-4 4-2.12-2.121L15 8.293z" clip-rule="evenodd"/></svg>'},54084(e){e.exports='<svg fill="none" viewBox="0 0 2 20"><path stroke="currentColor" d="M1 0v20"/></svg>'},56983(e){e.exports='<svg fill="none" viewBox="0 0 24 24">
1<path fill="currentColor" d="M14.23 3.733a2.504 2.504 0 0 1 3.54 0l3.38 3.378c.97.977.97 2.559 0 3.536L9.91 21.879H3v-6.914z"/></svg>'},9028(e){e.exports='<svg fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M14.23 3.733a2.504 2.504 0 0 1 3.54 0l3.38 3.378c.97.977.97 2.559 0 3.536L9.91 21.879H3v-6.914zm2.12 1.414a.49.49 0 0 0-.7 0L5 15.793v4.086h4.09L19.73 9.233c.2-.196.2-.512 0-.708zm-1.6 14.732-2 2H21v-2z"/></svg>'},40892(e,t,l){e.exports=l.p+"asset/clapping-hands.8dc2af1.webp"},44225(e,t,l){e.exports=l.p+"asset/crying-face.7b76c5e.webp"},59485(e,t,l){e.exports=l.p+"asset/face-palming.f532229.webp"},2e4(e,t,l){e.exports=l.p+"asset/face-with-tears-of-joy.cec8c04.webp"},3978(e,t,l){e.exports=l.p+"asset/flexed-biceps.e86d02e.webp"},4240(e,t,l){e.exports=l.p+"asset/folded-hands.633f263.webp"},21418(e,t,l){e.exports=l.p+"asset/hushed-face.560d185.webp"},6125(e,t,l){e.exports=l.p+"asset/loudly-crying-face.77d6b38.webp"},47422(e,t,l){e.exports=l.p+"asset/neutral-face.08d1ef7.webp"},51305(e,t,l){e.exports=l.p+"asset/pensive-face.b56f1d1.webp"},71107(e,t,l){e.exports=l.p+"asset/pouting-face.d45c019.webp"},98326(e,t,l){e.exports=l.p+"asset/raised-fist.853e93d.webp"},22737(e,t,l){e.exports=l.p+"asset/red-heart.6c68b87.webp"},2814(e,t,l){e.exports=l.p+"asset/rose.2ab8a03.webp"},25862(e,t,l){e.exports=l.p+"asset/slightly-frowning-face.cf84e78.webp"},70797(e,t,l){e.exports=l.p+"asset/smiling-face-with-heart-eyes.8f94456.webp"},15496(e,t,l){e.exports=l.p+"asset/smiling-face-with-smiling-eyes.d7576dd.webp"},76609(e,t,l){e.exports=l.p+"asset/thinking-face.ece5ded.webp"},34751(e,t,l){e.exports=l.p+"asset/thumbs-down.128d7c5.webp"},2946(e,t,l){e.exports=l.p+"asset/thumbs-up.1eeec83.webp"},62725(e,t,l){e.exports=l.p+"asset/clapping-hands.bafb2cc.png"},26354(e,t,l){e.exports=l.p+"asset/crying-face.1f4f296.png"},47466(e,t,l){e.exports=l.p+"asset/face-palming.cf32ef7.png"},11369(e,t,l){e.exports=l.p+"asset/face-with-tears-of-joy.7b8d000.png"},15679(e,t,l){e.exports=l.p+"asset/flexed-biceps.684e652.png"},77885(e,t,l){e.exports=l.p+"asset/folded-hands.64664ad.png"},83699(e,t,l){e.exports=l.p+"asset/hushed-face.25c4a96.png"},83958(e,t,l){e.exports=l.p+"asset/loudly-crying-face.75b6885.png"},66175(e,t,l){e.exports=l.p+"asset/neutral-face.f02dfff.png"},46378(e,t,l){e.exports=l.p+"asset/pensive-face.fe0edc1.png"},57152(e,t,l){e.exports=l.p+"asset/pouting-face.576794a.png"},53019(e,t,l){e.exports=l.p+"asset/raised-fist.636adf6.png"},66826(e,t,l){e.exports=l.p+"asset/red-heart.d40b7fd.png"},57611(e,t,l){e.exports=l.p+"asset/rose.35d6540.png"},4435(e,t,l){e.exports=l.p+"asset/slightly-frowning-face.c616fcb.png"},73714(e,t,l){e.exports=l.p+"asset/smiling-face-with-heart-eyes.5f971c8.png"},86509(e,t,l){e.exports=l.p+"asset/smiling-face-with-smiling-eyes.e832d97.png"},42330(e,t,l){e.exports=l.p+"asset/thinking-face.07ef74f.png"},19720(e,t,l){e.exports=l.p+"asset/thumbs-down.3516137.png"},21623(e,t,l){e.exports=l.p+"asset/thumbs-up.c000e95.png"},54968(e,t,l){l.d(t,{LV:()=>d}),l(89463),l(16280),l(23792),l(72712),l(55081),l(18111),l(61701),l(18237),l(45367),l(92731),l(3362),l(88454),l(29452),l(62953);let a=Symbol("Comlink.proxy"),s=Symbol("Comlink.endpoint"),o=Symbol("Comlink.releaseProxy"),n=Symbol("Comlink.finalizer"),r=Symbol("Comlink.thrown"),i=e=>"object"==typeof e&&null!==e||"function"==typeof e,u=new Map([["proxy",{canHandle:e=>i(e)&&e[a],serialize(e){let{port1:t,port2:l}=new MessageChannel;return function e(t,l=globalThis,s=["*"]){l.addEventListener("message",function o(i){let u;if(!i||!i.data)return;if(!function(e,t){for(let l of e)if(t===l||"*"===l||l instanceof RegExp&&l.test(t))return!0;return!1}(s,i.origin))return void console.warn(`Invalid origin '${i.origin}' for comlink proxy`);let{id:d,type:p,path:v}=Object.assign({path:[]},i.data),m=(i.data.argumentList||[]).map(h);try{var f,y,b;let l=v.slice(0,-1).reduce((e,t)=>e[t],t),s=v.reduce((e,t)=>e[t],t);switch(p){case"GET":u=s;break;case"SET":l[v.slice(-1)[0]]=h(i.data.value),u=!0;break;case"APPLY":u=s.apply(l,m);break;case"CONSTRUCT":f=new s(...m),u=Object.assign(f,{[a]:!0});break;case"ENDPOINT":{let{port1:l,port2:a}=new MessageChannel;e(t,a),y=l,b=[l],g.set(y,b),u=y}break;case"RELEASE":u=void 0;break;default:return}}catch(e){u={value:e,[r]:0}}Promise.resolve(u).catch(e=>({value:e,[r]:0})).then(e=>{let[a,s]=k(e);l.postMessage(Object.assign(Object.assign({},a),{id:d}),s),"RELEASE"===p&&(l.removeEventListener("message",o),c(l),n in t&&"function"==typeof t[n]&&t[n]())}).catch(e=>
1{let[t,a]=k({value:TypeError("Unserializable return value"),[r]:0});l.postMessage(Object.assign(Object.assign({},t),{id:d}),a)})}),l.start&&l.start()}(e,t),[l,[l]]},deserialize:e=>(e.start(),d(e))}],["throw",{canHandle:e=>i(e)&&r in e,serialize:({value:e})=>[e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[]],deserialize(e){if(e.isError)throw Object.assign(Error(e.value.message),e.value);throw e.value}}]]);function c(e){"MessagePort"===e.constructor.name&&e.close()}function d(e,t){let l=new Map;return e.addEventListener("message",function(e){let{data:t}=e;if(!t||!t.id)return;let a=l.get(t.id);if(a)try{a(t)}finally{l.delete(t.id)}}),function e(t,l,a=[],n=function(){}){let r,i=!1,u=new Proxy(n,{get(s,n){if(p(i),n===o)return()=>{f&&f.unregister(u),v(t),l.clear(),i=!0};if("then"===n){if(0===a.length)return{then:()=>u};let e=b(t,l,{type:"GET",path:a.map(e=>e.toString())}).then(h);return e.then.bind(e)}return e(t,l,[...a,n])},set(e,s,o){p(i);let[n,r]=k(o);return b(t,l,{type:"SET",path:[...a,s].map(e=>e.toString()),value:n},r).then(h)},apply(o,n,r){p(i);let u=a[a.length-1];if(u===s)return b(t,l,{type:"ENDPOINT"}).then(h);if("bind"===u)return e(t,l,a.slice(0,-1));let[c,d]=y(r);return b(t,l,{type:"APPLY",path:a.map(e=>e.toString()),argumentList:c},d).then(h)},construct(e,s){p(i);let[o,n]=y(s);return b(t,l,{type:"CONSTRUCT",path:a.map(e=>e.toString()),argumentList:o},n).then(h)}});return r=(m.get(t)||0)+1,m.set(t,r),f&&f.register(u,t,u),u}(e,l,[],t)}function p(e){if(e)throw Error("Proxy has been released and is not useable")}function v(e){return b(e,new Map,{type:"RELEASE"}).then(()=>{c(e)})}let m=new WeakMap,f="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(m.get(e)||0)-1;m.set(e,t),0===t&&v(e)});function y(e){var t;let l=e.map(k);return[l.map(e=>e[0]),(t=l.map(e=>e[1]),Array.prototype.concat.apply([],t))]}let g=new WeakMap;function k(e){for(let[t,l]of u)if(l.canHandle(e)){let[a,s]=l.serialize(e);return[{type:"HANDLER",name:t,value:a},s]}return[{type:"RAW",value:e},g.get(e)||[]]}function h(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function b(e,t,l,a){return new Promise(s=>{let o=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.set(o,s),e.start&&e.start(),e.postMessage(Object.assign({id:o},l),a)})}}}]);

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.