PageSourceSearch

https://www.posthell.com/_next/static/chunks/pages/dev/calendar-preview-6c18e0cbdd38a31f.js

js posthell.com collected 2026-10-07 15:48:07 UTC 5,934 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2592],{9029:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dev/calendar-preview",function(){return n(4103)}])},2329:function(e,t,n){"use strict";n.d(t,{Rh:function(){return v},Rr:function(){return s},Xc:function(){return f},cy:function(){return g},hC:function(){return c},l9:function(){return u},p$:function(){return i},td:function(){return a},x:function(){return l}});var o=n(4295),r=n(2101);let i={x:{label:"X",icon:o.LCd,color:"#000000",metered:!0},linkedin:{label:"LinkedIn",icon:o.ltd,color:"#0A66C2",metered:!1},instagram:{label:"Instagram",icon:o.Zf_,color:"#E4405F",metered:!1},threads:{label:"Threads",icon:o.Az4,color:"#000000",metered:!1},bluesky:{label:"Bluesky",icon:r.dmw,color:"#0285FF",metered:!1},facebook:{label:"Facebook",icon:o.tBk,color:"#1877F2",metered:!1},tiktok:{label:"TikTok",icon:o.nTm,color:"#000000",metered:!1},youtube:{label:"YouTube",icon:o.V2E,color:"#FF0000",metered:!1},pinterest:{label:"Pinterest",icon:o.oIN,color:"#BD081C",metered:!1},reddit:{label:"Reddit",icon:o.hrS,color:"#FF4500",metered:!1},telegram:{label:"Telegram",icon:o.Ww5,color:"#26A5E4",metered:!1},discord:{label:"Discord",icon:o.j2d,color:"#5865F2",metered:!1},googlebusiness:{label:"Google Business",icon:o.ldW,color:"#4285F4",metered:!1},whatsapp:{label:"WhatsApp",icon:o.xpo,color:"#25D366",metered:!1}};function l(e){var t;return(null===(t=i[e])||void 0===t?void 0:t.label)||e}function a(e){var t;let n=null===(t=i[e])||void 0===t?void 0:t.color;return"#000000"===n?"var(--text-primary)":n}let u={x:280,threads:500,bluesky:300,linkedin:3e3,instagram:2200,facebook:63206,tiktok:2200,youtube:5e3,pinterest:500,reddit:4e4,telegram:1024,discord:2e3,googlebusiness:1500,whatsapp:4096};function s(e){return u[e]||null}let d={x:{maxImages:4,singleVideo:!0,noMix:!0},instagram:{requiresMedia:!0,vertical:!0,maxImages:10,imageAspect:[.8,1.91],hint:"Needs a photo, carousel, or Reel. Video posts as a 9:16 Reel."},tiktok:{requiresMedia:!0,vertical:!0,maxImages:35,hint:"Needs a vertical (9:16) video or a photo carousel."},youtube:{requiresMedia:!0,vertical:!0,videoOnly:!0,hint:"Needs a video. Under 3 minutes posts as a Short."},pinterest:{requiresMedia:!0,vertical:!0,maxImages:1,singleVideo:!0,hint:"Needs an image or video pin. Tall (2:3) performs best."},linkedin:{maxImages:20,singleVideo:!0,noMix:!0},facebook:{maxImages:10,singleVideo:!0,noMix:!0},threads:{maxImages:10,singleVideo:!0,noMix:!0},bluesky:{maxImages:4,singleVideo:!0,noMix:!0},reddit:{maxImages:20},googlebusiness:{maxImages:1,video:!1}};function c(e){var t;return!!(null===(t=d[e])||void 0===t?void 0:t.requiresMedia)}let m={minSeconds:3,maxSeconds:60,maxAspect:.7};function f(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(t||[]).filter(Boolean);if(1!==n.length)return!1;let o=n[0];if("video"!==o.type)return!1;let r=Number(o.width),i=Number(o.height);if(!r||!i||r/i>m.maxAspect)return!1;let l=Number(null!==(e=o.durationSeconds)&&void 0!==e?e:o.duration_seconds);return!Number.isFinite(l)||!(l<m.minSeconds)&&!(l>m.maxSeconds)}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{story:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=d[e];if(n||!o||!t.length)return[];let r=l(e),i=t.filter(e=>e&&"video"!==e.type).length,a=t.filter(e=>e&&"video"===e.type).length,u=[];if(!1===o.video&&a>0)return[];if("number"==typeof o.maxImages&&i>o.maxImages){let e=i-o.maxImages;u.push("".concat(r," allows up to ").concat(o.maxImages," image").concat(1===o.maxImages?"":"s","; the last ").concat(e," won't post."))}if(o.singleVideo&&a>1&&u.push("".concat(r," posts one video per post; only the first will publish.")),Array.isArray(o.imageAspect)){let[e,n]=o.imageAspect,i=t.find(t=>{if(!t||"video"===t.type||!(t.width>0)||!(t.height>0))return!1;let o=t.width/t.height;return o<e-.005||o>n+.005});i&&u.push("".concat(r," feed takes images between 4:5 and 1.91:1; ").concat(i.width,"x").concat(i.height," is outside that and may be cropped or rejected."))}return u}function g(e){let t=null;for(let n of e||[]){let e=u[n];e&&(!t||e<t.limit)&&(t={platform:n,limit:e})}return t}},3253:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});var o=n(7294);function r(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=(0,o.useRef)(null),r=(0,o.useRef)(e);return r.current=e,(0,o.useEffect)(()=>{var e,o;if(!t)return;let i=document.activeElement,l=document.body.style.overflow;document.body.style.overflow="hidden";let a=()=>n.current?Array.from(n.current.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not
1([tabindex="-1"])')).filter(e=>null!==e.offsetParent):[];null===(o=a()[0]||n.current)||void 0===o||null===(e=o.focus)||void 0===e||e.call(o);let u=e=>{if("Escape"===e.key){var t;null===(t=r.current)||void 0===t||t.call(r);return}if("Tab"!==e.key)return;let n=a();if(!n.length){e.preventDefault();return}let o=n[0],i=n[n.length-1];e.shiftKey&&document.activeElement===o?(e.preventDefault(),i.focus()):e.shiftKey||document.activeElement!==i||(e.preventDefault(),o.focus())};return document.addEventListener("keydown",u),()=>{document.removeEventListener("keydown",u),document.body.style.overflow=l,i&&i.focus&&i.focus()}},[t]),n}},6379:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var o=n(9820),r=n(5241);function i(e){let{enabled:t=!0,...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.ZP)(t?["/api/posts",e]:null,()=>(0,r.tg)("/api/posts"),{refreshInterval:12e4,revalidateOnFocus:!0,keepPreviousData:!0,...n})}},4103:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}}),n(5893);var o=n(7294);function r(){let[e,t]=(0,o.useState)([]);return null}n(5295)}},function(e){e.O(0,[4396,8151,2832,5295,2888,9774,179],function(){return e(e.s=9029)}),_N_E=e.O()}]);

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.