PageSourceSearch

https://okaydev.co/dist/assets/bento-social-renderer-CGA_kPKo.js

js okaydev.co collected 2026-09-25 20:11:01 UTC 2,332 bytes, 1 lines download raw bytes

1import{D as o}from"./default-renderer-BZKN5ad1.js";import{s as t,a as e}from"./HeaderLogoLetters-DJI_FB9w.js";import{mountBentoUserHub as r}from"./bentoSocialHub-DRgRYM3r.js";import{a}from"./app-Cu6dTb9L.js";/* empty css              *//* empty css                        */import"./SplitText-VLUCmDhw.js";import"./lazyDialog-D7tW-HM0.js";import"./distributeProjectAuthorCard-USTmGEds.js";import"./SocialPosts-rgMf2ipp.js";import"./patchCommentsProtect-C8m96Vr7.js";import"./SocialPostForm-CGgbKgDy.js";import"./selectedMemberElement-BIB-k0h5.js";import"./mediaUploadStatusError-D6rbRcEa.js";import"./output-BQAQukZ9.js";import"./videoPosterMediabunny-CXcmZmdN.js";import"./bentoProfileFollowCta-D5-cZ9cJ.js";import"./bentoProfileCopy-Cvj2CDYQ.js";class l extends o{onEnterCompleted(){var o,l,s,i,n;super.onEnterCompleted(),this.root=null!=(s=null==(l=null==(o=this.wrap)?void 0:o.querySelector)?void 0:l.call(o,'[data-router-view="bentoSocial"]'))?s:document.querySelector('[data-router-view="bentoSocial"]');const p=null==(n=null==(i=this.root)?void 0:i.querySelector)?void 0:n.call(i,"[data-bento-social-hub]");p instanceof HTMLElement&&(this.controller=r(p,{onNavigate:o=>{var e;const r=(Number(null==(e=t.pjax)?void 0:e._historyIndex)||0)+1;history.pushState({_historyIndex:r,bentoSocialDirect:!0},"",o),t.pjax&&(t.pjax._historyIndex=r,t.pjax.location=t.pjax.Helpers.getLocation(new URL(o,location.href).href))},onRedirect:o=>location.assign(o)}),this.onPopstate=o=>{var e,r,l,s;const i=a(location.href);i&&i.username.toLowerCase()===(null==(e=p.dataset.profileUsername)?void 0:e.toLowerCase())&&(o.stopImmediatePropagation(),t.pjax&&Number.isFinite(Number(null==(r=o.state)?void 0:r._historyIndex))&&(t.pjax._historyIndex=Number(o.state._historyIndex)),null==(s=null==(l=this.controller)?void 0:l.navigate)||s.call(l,i.section,{push:!1}))},this.clearActiveController=e({canHandlePopstate:()=>{var o;const t=a(location.href);return Boolean(t&&t.username.toLowerCase()===(null==(o=p.dataset.profileUsername)?void 0:o.toLowerCase()))},handlePopstate:this.onPopstate}))}async onLeave(){var o,t,e;null==(t=null==(o=this.controller)?void 0:o.destroy)||t.call(o),this.controller=null,null==(e=this.clearActiveController)||e.call(this),this.clearActiveController=null,this.onPopstate=null,await super.onLeave()}}export{l as default};

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.