PageSourceSearch

https://www.posthell.com/_next/static/chunks/2985-5078855471f7df7c.js

js posthell.com collected 2026-10-07 15:49:42 UTC 9,638 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2985],{6252:function(e,t,l){l.d(t,{Z:function(){return g}});var r=l(5893),n=l(1664),a=l.n(n),s=l(4295),o=l(6026),i=l(6162);let c=[{href:"/mcp",label:"MCP server"},{href:"/automate",label:"Automate by network"},{href:"https://www.npmjs.com/package/posthell-cli",label:"posthell CLI",external:!0}],h=[{href:"/tools/google-review-response-generator",label:"Review reply generator"},{href:"/tools/link-preview",label:"Link preview checker"},{href:"/tools/thread-splitter",label:"Thread splitter"},{href:"/tools/social-image-resizer",label:"Image resizer"},{href:"/tools/utm-builder",label:"UTM builder"},{href:"/tools/fake-tweet-generator",label:"Fake tweet generator"},{href:"/tools/engagement-rate-calculator",label:"Engagement calculator"},{href:"/tools/invisible-character",label:"Invisible character"},{href:"/tools/ship-receipt",label:"Ship receipt"},{href:"/tools",label:"All free tools"}],u=[{href:"/best-posthell-alternatives",label:"Best posthell alternatives"},{href:"/compare/buffer",label:"posthell vs Buffer"},{href:"/compare/hootsuite",label:"posthell vs Hootsuite"},{href:"/compare/publer",label:"posthell vs Publer"},{href:"/compare/typefully",label:"posthell vs Typefully"},{href:"/compare/postiz",label:"posthell vs Postiz"},{href:"/compare",label:"All comparisons"}],d=[{href:"/learn",label:"How to do social media management"},{href:"/for",label:"Who it's for"},{href:"/blog",label:"Blog"},{href:"/feed.xml",label:"RSS feed",plain:!0},{href:"/llms.txt",label:"llms.txt",plain:!0},{href:"https://github.com/Rohan27s/posthell-cli",label:"GitHub",external:!0}],f=[{href:"/about",label:"About"},{href:"/login",label:"Log in"},{href:"https://x.com/rohangotwal",label:"@rohangotwal on X",external:!0},{href:"/privacy",label:"Privacy"},{href:"/terms",label:"Terms"}];function p(e){let{href:t,label:l,external:n,plain:s}=e;return n?(0,r.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:l}):s?(0,r.jsx)("a",{href:t,children:l}):(0,r.jsx)(a(),{href:t,children:l})}function m(e){let{title:t,titleHref:l,links:n,children:s}=e;return(0,r.jsxs)("div",{className:"sf-group",children:[l?(0,r.jsx)(a(),{href:l,className:"sf-title",children:t}):(0,r.jsx)("span",{className:"sf-title",children:t}),(0,r.jsx)("ul",{className:"sf-links",children:n?n.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(p,{...e})},e.href)):s})]})}function g(){let e=(0,o.kd)(),t=(0,i.L1)();return(0,r.jsx)("footer",{className:"sf-wrap",children:(0,r.jsxs)("div",{className:"sf-panel",children:[(0,r.jsxs)("nav",{className:"sf-cols","aria-label":"Footer",children:[(0,r.jsxs)("div",{className:"sf-col",children:[(0,r.jsxs)(m,{title:"Features",titleHref:"/features",children:[e.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(a(),{href:"/features/".concat(e.slug),children:e.name})},e.slug)),(0,r.jsx)("li",{children:(0,r.jsx)(a(),{href:"/#pricing",children:"Pricing"})})]}),(0,r.jsx)(m,{title:"AI agents",links:c})]}),(0,r.jsx)(m,{title:"Channels",titleHref:"/channels",children:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(a(),{href:"/channels/".concat(e.slug),children:e.name})},e.slug))}),(0,r.jsx)(m,{title:"Free tools",titleHref:"/tools",links:h}),(0,r.jsx)(m,{title:"Compare",titleHref:"/compare",links:u}),(0,r.jsxs)("div",{className:"sf-col",children:[(0,r.jsx)(m,{title:"Resources",links:d}),(0,r.jsx)(m,{title:"Company",links:f})]})]}),(0,r.jsxs)("div",{className:"sf-base",children:[(0,r.jsx)(a(),{href:"/","aria-label":"posthell home",children:(0,r.jsx)("img",{className:"sf-logo",src:"/posthell-logo.png",alt:"posthell"})}),(0,r.jsxs)("div",{className:"sf-meta",children:[(0,r.jsxs)("div",{className:"sf-social",children:[(0,r.jsx)("a",{href:"https://x.com/rohangotwal",target:"_blank",rel:"noopener noreferrer","aria-label":"posthell on X",children:(0,r.jsx)(s.LCd,{size:20,"aria-hidden":"true"})}),(0,r.jsx)("a",{href:"https://www.instagram.com/posthellapp/",target:"_blank",rel:"noopener noreferrer","aria-label":"posthell on Instagram",children:(0,r.jsx)(s.Zf_,{size:20,"aria-hidden":"true"})}),(0,r.jsx)("a",{href:"https://www.facebook.com/posthell",target:"_blank",rel:"noopener noreferrer","aria-label":"posthell on Facebook",children:(0,r.jsx)(s.tBk,{size:20,"aria-hidden":"true"})}),(0,r.jsx)("a",{href:"https://github.com/Rohan27s/posthell-cli",target:"_blank",rel:"noopener noreferrer","aria-label":"posthell on GitHub",children:(0,r.jsx)(s.hJX,{size:20,"aria-hidden":"true"})})]}),(0,r.jsxs)("p",{className:"sf-copy",children:["Copyright \xa9 ",new Date().getFullYear()," posthell ",(0,r.jsx)("span",{"aria-hidden":"true",children:"|"})," ",(0,r.jsx)(a(),{href:"/privacy",children:"Privacy"})," ",(0,r.jsx)("span",{"aria-hidden":"true",children:"|"})," ",(0,r.jsx)(a(),{href:"/terms",children:"Terms"})]})]})]})]})})}},234:function(e,t,l){l.d(t,{Ey:function(){return r},Fj:function(){return i},nI:function(){return h},nj:function(){return a},y4:function(){return c},zT:function(){return s}});let r="https://www.posthell.com",n="".concat(r,"/#org"),a="".concat(r,"/#website"),s={name:"Rohan Gotwal",url:"https://x.com/rohangotwal",handle:"rohangotwal"},o=["https://x.com/rohangotwal","https://www.instagram.com/posthellapp/","https://www.facebook.com/posthell","https://github.com/Rohan27s/posthell-cli","https://www.npmjs.com/package/posthell-cli"];function i(){return{"@type":"Organization","@id":n,name:"posthell",url:r,logo:{"@type":"ImageObject",url:"".concat(r,"/posthell-logo.png")},description:"posthell is an AI social media employee for small business owners. It writes posts in your voice from what happened in your business, tailors them per network, schedules them, and drafts replies. Nothing publishes until you approve it.",founder:{"@type":"Person",name:s.name,url:s.url},sameAs:o}}let c={"@id":n};function h(){return{"@type":"WebSite","@id":a,name:"posthell",url:r,publisher:c}}},2627:function(e,t,l){l.d(t,{a:function(){return c}});var r=l(7294),n=l(9676),a=l(9820),s=l(5241),o=l(7769),i=l(984);function c(){var e,t;let[l,c]=(0,r.useState)(null),[h,u]=(0,r.useState)(!0);(0,r.useEffect)(()=>{let e=!1;n.O.auth.getSession().then(t=>{let{data:l}=t;if(!e){var r;c(null!==(r=l.session)&&void 0!==r?r:null),u(!1)}});let{data:{subscription:t}}=n.O.auth.onAuthStateChange((e,t)=>{c(t)});return()=>{e=!0,t.unsubscribe()}},[]);let{data:d,error:f,mutate:p}=(0,a.ZP)((null==l?void 0:null===(e=l.user)||void 0===e?void 0:e.id)?"/api/users/profile?user_id=".concat(l.user.id):null,
1s._i,{revalidateOnFocus:!1}),m=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e,t;let r=null==l?void 0:l.user;(null==r?void 0:r.id)&&(null==d||!d.user)&&f&&m.current!==r.id&&(m.current=r.id,fetch("/api/users/create",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(l.access_token)},body:JSON.stringify({id:r.id,email:r.email,name:(null===(e=r.user_metadata)||void 0===e?void 0:e.full_name)||(null===(t=r.user_metadata)||void 0===t?void 0:t.name)||null})}).catch(()=>{}).finally(()=>p()))},[l,d,f,p]);let g=(null==l?void 0:l.user)?{...l.user,...null==d?void 0:d.user}:null;return(0,r.useEffect)(()=>{var e,t;let r=null==g?void 0:g.id,n=null==g?void 0:g.created_at;if(!r||!n)return;let a=Date.now()-new Date(n).getTime();if(!Number.isFinite(a)||a<0||a>18e5)return;(0,o.uO)("signup_".concat(r),o.EV.SIGNUP_COMPLETED,{userId:r,method:(null==l?void 0:null===(t=l.user)||void 0===t?void 0:null===(e=t.app_metadata)||void 0===e?void 0:e.provider)||"unknown"});let c=(0,i.w$)();(c||(0,i.md)())&&(0,s.r$)("/api/users/profile",{method:"PATCH",body:{attribution:c,auVisitorId:(0,i.md)()}}).catch(()=>{})},[null==g?void 0:g.id,null==g?void 0:g.created_at,l]),{session:l,user:g,loading:h||(null==l?void 0:null===(t=l.user)||void 0===t?void 0:t.id)&&!d&&!f,userError:f}}},6731:function(e,t,l){l.d(t,{gW:function(){return n}});let r=e=>{let t=[],l="";for(let r=0;r<e.length;r+=1){l+=e[r];let n=/[.!?]/.test(e[r]),a=r+1<e.length&&/\s/.test(e[r+1]),s=r>0&&/\d/.test(e[r-1]),o=r+2<e.length&&/\d/.test(e[r+2]);n&&a&&!(s&&o)&&(t.push(l.trim()),l="")}return l.trim()&&t.push(l.trim()),t};function n(e){let{max:t=165,min:l=70}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=String(e||"").replace(/\s+/g," ").trim();if(!n||n.length<=t)return n;let a=r(n),s=a[0]||n,o=1;for(let e=1;e<a.length;e+=1){let l="".concat(s," ").concat(a[e]);if(l.length>t)break;s=l,o=e+1}return s.length<l&&a[o]&&(s="".concat(s," ").concat(a[o])),s}},7769:function(e,t,l){l.d(t,{Cn:function(){return a},EV:function(){return r},j:function(){return n},uO:function(){return s}});let r={SIGNUP_COMPLETED:"signup_completed",PAYWALL_VIEWED:"paywall_viewed",CHECKOUT_STARTED:"checkout_started",PLAN_SWITCH_STARTED:"plan_switch_started",ONBOARDING_STEP:"onboarding_step",ONBOARDING_SEGMENT:"onboarding_segment",ACCOUNT_CONNECTED:"account_connected",POST_SCHEDULED:"post_scheduled",DRAFT_APPROVED:"draft_approved",AGENT_MESSAGE_SENT:"agent_message_sent"};function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{var l;let r=null===(l=window.analyzeUser)||void 0===l?void 0:l.track;if("function"!=typeof r)return;r(e,{path:function(){try{return window.location.pathname+(window.location.search||"")}catch(e){return null}}(),...t})}catch(e){}}function a(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{let t="ph_ev_".concat(e);if(window.sessionStorage.getItem(t))return;window.sessionStorage.setItem(t,"1")}catch(e){}n(t,l)}function s(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{let t="ph_ev_once_".concat(e);if(window.localStorage.getItem(t))return;window.localStorage.setItem(t,"1")}catch(e){}n(t,l)}}}]);

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.