PageSourceSearch

https://www.hasbropulse.com/mobify/bundle/2649/pages-amplience-preview-visualization.js

js hasbropulse.com collected 2026-09-24 09:04:12 UTC 2,890 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[956],{3284:(e,t,n)=>{n.d(t,{ah:()=>l});var r=n(10467),o=n(96540),a=n(12519);n(17578);const l=(e,t,n=[])=>{var l;const i=(0,o.useContext)(a.yq),u=null===(l=(0,o.useContext)(a.W))||void 0===l?void 0:l.client;void 0===t&&(t=null==i?void 0:i.ampVizSdk),(0,o.useEffect)((()=>{if(!t)return;let n=!1;const o=function(){var t=(0,r.A)((function*(t){u&&(yield u.defaultEnrich([t],{personalised:!0})),n||e(t)}));return function(e){return t.apply(this,arguments)}}();t.form.saved((()=>{window.location.reload()})),t.form.get().then(function(){var e=(0,r.A)((function*(e){yield o(e)}));return function(t){return e.apply(this,arguments)}}());const a=t.form.changed(function(){var e=(0,r.A)((function*(e){yield o(e)}));return function(t){return e.apply(this,arguments)}}());return()=>{null!=a&&a(),n=!0}}),[t,...n])}},5823:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var r=n(10467),o=n(96540),a=n(56347),l=n(5556),i=n.n(l),u=n(59146),s=n(21052),c=n(12519),d=n(3284);const v=({vse:e,vseTimestamp:t,contentId:n,hubname:r})=>{const[l]=(0,o.useState)(void 0),[i,v]=(0,o.useState)(e),[f,p]=(0,o.useState)(n),[m,g]=(0,o.useState)(r),{groups:h}=(0,o.useContext)(c.W),y=(0,a.zy)();return(0,d.ah)((e=>{l(e.content)}),void 0,[h]),(0,o.useEffect)((()=>{const e=new URLSearchParams(y.search||""),t=e.get("vse"),n=e.get("
1contentId"),r=e.get("hub");t&&v(t),n&&p(n),r&&g(r)}),[y]),o.createElement(u.a,{"data-testid":"real-viz",layerStyle:"page"},o.createElement(c.P1,{hubname:m,vse:i,contentId:f,groups:h},t&&o.createElement(s.E,{fontSize:"3xl",align:"center",color:"white"},"Preview set for ",new Date(parseInt(t)).toString(),"."),o.createElement(s.E,{fontSize:"3xl",align:"center",color:"white"},"Please browse site to validate scheduled content.")))};v.getTemplateName=()=>"ampPreview",v.propTypes={recommendations:i().array,isLoading:i().bool,vse:i().string,vseTimestamp:i().string,contentId:i().string,hubname:i().string},v.getProps=function(){var e=(0,r.A)((function*({req:e}){return{vse:null==e?void 0:e.query.vse,vseTimestamp:null==e?void 0:e.query["vse-timestamp"],contentId:null==e?void 0:e.query.contentId,hubname:null==e?void 0:e.query.hub}}));return function(t){return e.apply(this,arguments)}}();const f=v},17578:(e,t,n)=>{n.d(t,{BO:()=>a,Dn:()=>l,LG:()=>i});var r=n(24542);n(3284),n(2543);const o={URL:e=>"$"+(e.value||""),"Category ID":e=>(0,r.oj)({id:e.value||""}),"Product SKU":e=>(0,r.ec)({id:e.value||""}),"Page ID":e=>"/"+(e.value||"")},a=e=>{const t=o[e.type||""];return null==t?"":t(e)},l=e=>{let t=(null==e?void 0:e.externalUrl)||"";return null!=e&&e.product?t=(0,r.ec)(e.product):null!=e&&e.category&&(t=(0,r.oj)(e.category)),t},i=e=>({href:l(null==e?void 0:e.linkInformation),isExternal:null==e?void 0:e.openInNewWindow,className:(null==e?void 0:e.cssClass)??"","aria-label":null==e?void 0:e.ariaLabel})}}]);

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.