{
  "version": 3,
  "sources": ["import-map:https://ga.jspm.io/npm:react@17.0.2/jsx-runtime.js", "import-map:https://app.framerstatic.com/chunk-QCLOLDTP.js", "import-map:https://app.framerstatic.com/framer-motion-esm-shim.LHM5PRP4.js", "import-map:https://framer.com/m/framer/useConstant.js@^1.0.0", "import-map:https://framer.com/m/framer/randomID.js@^2.0.0", "import-map:https://framer.com/m/framer/store.js@^1.0.0", "import-map:https://framerusercontent.com/modules/hdTAud8vMTjI1mP7efQI/t1v5MyduNqNe7PpXrGmN/dhm5DaSKx.js", "import-map:https://framerusercontent.com/modules/rDgUxk0zNnVn4i5wyzN8/f8SVmOujKszsFane2pSr/WordPressPoC.js"],
  "sourcesContent": ["import*as r from\"object-assign\";import*as e from\"react\";var t=\"default\"in r?r.default:r;var o=\"default\"in e?e.default:e;var a={};t;var f=o,n=60103;a.Fragment=60107;if(\"function\"===typeof Symbol&&Symbol.for){var s=Symbol.for;n=s(\"react.element\");a.Fragment=s(\"react.fragment\")}var l=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_=Object.prototype.hasOwnProperty,i={key:!0,ref:!0,__self:!0,__source:!0};function q(r,e,t){var o,a={},f=null,s=null;void 0!==t&&(f=\"\"+t);void 0!==e.key&&(f=\"\"+e.key);void 0!==e.ref&&(s=e.ref);for(o in e)_.call(e,o)&&!i.hasOwnProperty(o)&&(a[o]=e[o]);if(r&&r.defaultProps)for(o in e=r.defaultProps,e)void 0===a[o]&&(a[o]=e[o]);return{$$typeof:n,type:r,key:f,ref:s,props:a,_owner:l.current}}a.jsx=q;a.jsxs=q;const u=a.Fragment,p=a.jsx,y=a.jsxs;export{u as Fragment,a as default,p as jsx,y as jsxs};\n\n//# sourceMappingURL=jsx-runtime.js.map", "var h=Object.create;var f=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var m=a=>f(a,\"__esModule\",{value:!0});var q=(a=>typeof require!=\"undefined\"?require:typeof Proxy!=\"undefined\"?new Proxy(a,{get:(b,c)=>(typeof require!=\"undefined\"?require:b)[c]}):a)(function(a){if(typeof require!=\"undefined\")return require.apply(this,arguments);throw new Error('Dynamic require of \"'+a+'\" is not supported')});var r=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),s=(a,b)=>{for(var c in b)f(a,c,{get:b[c],enumerable:!0})},n=(a,b,c,d)=>{if(b&&typeof b==\"object\"||typeof b==\"function\")for(let e of j(b))!l.call(a,e)&&(c||e!==\"default\")&&f(a,e,{get:()=>b[e],enumerable:!(d=i(b,e))||d.enumerable});return a},t=(a,b)=>n(m(f(a!=null?h(k(a)):{},\"default\",!b&&a&&a.__esModule?{get:()=>a.default,enumerable:!0}:{value:a,enumerable:!0})),a);var g=(a,b,c)=>{if(!b.has(a))throw TypeError(\"Cannot \"+c)};var o=(a,b,c)=>(g(a,b,\"read from private field\"),c?c.call(a):b.get(a)),u=(a,b,c)=>{if(b.has(a))throw TypeError(\"Cannot add the same private member more than once\");b instanceof WeakSet?b.add(a):b.set(a,c)},p=(a,b,c,d)=>(g(a,b,\"write to private field\"),d?d.call(a,c):b.set(a,c),c),v=(a,b,c,d)=>({set _(e){p(a,b,e,c)},get _(){return o(a,b,d)}}),w=(a,b,c)=>(g(a,b,\"access private method\"),c);export{q as a,r as b,s as c,t as d,o as e,u as f,p as g,v as h,w as i};\n//# sourceMappingURL=chunk-QCLOLDTP.js.map\n", "import\"https://app.framerstatic.com/chunk-QCLOLDTP.js\";var{AnimatePresence:e,AnimateSharedLayout:o,AnimationType:t,DeprecatedLayoutGroupContext:n,DragControls:a,FlatTree:i,LayoutGroup:s,LayoutGroupContext:r,LazyMotion:u,MotionConfig:l,MotionConfigContext:m,MotionContext:c,MotionValue:p,PresenceContext:d,Reorder:C,SwitchLayoutGroupContext:M,addPointerEvent:V,addScaleCorrector:y,animate:x,animateVisualElement:f,animationControls:g,animations:L,calcLength:S,checkTargetForNewValues:T,createBox:A,createDomMotionComponent:D,createMotionComponent:E,domAnimation:P,domMax:h,filterProps:v,isBrowser:w,isDragActive:F,isMotionValue:I,isValidMotionProp:G,m:R,makeUseVisualState:U,motion:k,motionValue:B,resolveMotionValue:b,transform:j,useAnimation:z,useAnimationFrame:H,useCycle:N,useDeprecatedAnimatedState:q,useDeprecatedInvertedScale:J,useDomEvent:K,useDragControls:O,useElementScroll:Q,useForceUpdate:W,useInstantLayoutTransition:X,useInstantTransition:Y,useIsPresent:Z,useIsomorphicLayoutEffect:_,useMotionTemplate:$,useMotionValue:ee,usePresence:oe,useReducedMotion:te,useResetProjection:ne,useSpring:ae,useTime:ie,useTransform:se,useUnmountEffect:re,useVelocity:ue,useViewportScroll:le,useVisualElementContext:me,visualElement:ce,wrapHandler:pe}=globalThis.Framer;export{e as AnimatePresence,o as AnimateSharedLayout,t as AnimationType,n as DeprecatedLayoutGroupContext,a as DragControls,i as FlatTree,s as LayoutGroup,r as LayoutGroupContext,u as LazyMotion,l as MotionConfig,m as MotionConfigContext,c as MotionContext,p as MotionValue,d as PresenceContext,C as Reorder,M as SwitchLayoutGroupContext,V as addPointerEvent,y as addScaleCorrector,x as animate,f as animateVisualElement,g as animationControls,L as animations,S as calcLength,T as checkTargetForNewValues,A as createBox,D as createDomMotionComponent,E as createMotionComponent,P as domAnimation,h as domMax,v as filterProps,w as isBrowser,F as isDragActive,I as isMotionValue,G as isValidMotionProp,R as m,U as makeUseVisualState,k as motion,B as motionValue,b as resolveMotionValue,j as transform,z as useAnimation,H as useAnimationFrame,N as useCycle,q as useDeprecatedAnimatedState,J as useDeprecatedInvertedScale,K as useDomEvent,O as useDragControls,Q as useElementScroll,W as useForceUpdate,X as useInstantLayoutTransition,Y as useInstantTransition,Z as useIsPresent,_ as useIsomorphicLayoutEffect,$ as useMotionTemplate,ee as useMotionValue,oe as usePresence,te as useReducedMotion,ne as useResetProjection,ae as useSpring,ie as useTime,se as useTransform,re as useUnmountEffect,ue as useVelocity,le as useViewportScroll,me as useVisualElementContext,ce as visualElement,pe as wrapHandler};\n//# sourceMappingURL=https://app.framerstatic.com/framer-motion-esm-shim.LHM5PRP4.js.map\n", "import { useRef } from \"react\";\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on.\n * By using `useConstant` you can ensure that initialisers don't execute twice or more.\n */ export function useConstant(init) {\n    const ref = useRef(null);\n    if (ref.current === null) {\n        ref.current = init();\n    }\n    return ref.current;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useConstant.map", "import { useConstant } from \"https://framer.com/m/framer/useConstant.js@^1.0.0\";\nconst BASE62 = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n/**\n * Generates a random string of BASE62 characters.\n */ export function randomID(length = 5) {\n    return Array(length).fill(0).map(()=>BASE62[Math.floor(Math.random() * BASE62.length)]\n    ).join(\"\");\n}\nexport function useRandomID(length = 5) {\n    return useConstant(()=>randomID(length)\n    );\n}\nconst defaultStorageKey = \"$$FramerRandomID\";\n/**\n * `randomID` but cached in localStorage.\n */ export function useCachedRandomID(storageKey = defaultStorageKey) {\n    return useConstant(()=>{\n        const storage = getLocalStorage();\n        if (!storage) return randomID(8);\n        const cachedValue = storage.getItem(storageKey);\n        if (cachedValue) return cachedValue;\n        const newID = randomID(8);\n        storage.setItem(storageKey, newID);\n        return newID;\n    });\n}\nfunction getLocalStorage() {\n    if (typeof window === undefined) return undefined;\n    try {\n        return window.localStorage;\n    } catch (err) {\n        return undefined;\n    }\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useRandomID\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCachedRandomID\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./randomID.map", "import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\"; // Generated by Framer (449faae)\n\nimport * as React from \"react\";\nimport { motion, LayoutGroup } from \"framer-motion\";\nimport { useActiveVariantCallback, addFonts, withCSS, addPropertyControls, ControlType, cx, useAddVariantProps, useVariantState, Text, Stack, useRouteHandler } from \"framer\";\nimport { useRandomID } from \"https://framer.com/m/framer/randomID.js@^2.0.0\";\nconst enabledGestures = {\n  \"qkLXupZ1U\": {\n    \"hover\": true\n  }\n};\nconst cycleOrder = [\"qkLXupZ1U\"];\nconst variantClassNames = {\n  \"qkLXupZ1U\": \"framer-v-omgbd5\"\n};\nconst humanReadableVariantMap = {};\nconst transitions = {\n  \"default\": {\n    \"type\": \"spring\",\n    \"ease\": [0.44, 0, 0.56, 1],\n    \"duration\": 0.3,\n    \"delay\": 0,\n    \"stiffness\": 500,\n    \"damping\": 60,\n    \"mass\": 1\n  }\n};\nconst Component = /*#__PURE__*/React.forwardRef(function ({\n  style,\n  className,\n  width,\n  height,\n  layoutId,\n  variant: outerVariant = \"qkLXupZ1U\",\n  title: btxmMPWKp = \"Title\",\n  blurb: PeyZZ6vP0 = \"Blurb\",\n  ...restProps\n}, ref) {\n  const outerVariantId = humanReadableVariantMap[outerVariant];\n  const variant = outerVariantId || outerVariant;\n  const {\n    variants,\n    baseVariant,\n    gestureVariant,\n    classNames,\n    transition,\n    setVariant,\n    setGestureState\n  } = useVariantState({\n    defaultVariant: \"qkLXupZ1U\",\n    variant,\n    transitions,\n    variantClassNames,\n    enabledGestures,\n    cycleOrder\n  });\n  const layoutDependency = variants.join(\"-\") + restProps.layoutDependency;\n  const openRoutev08n5h = useRouteHandler(\"yxGZkdXnk\", true);\n  const {\n    activeVariantCallback,\n    delay\n  } = useActiveVariantCallback(baseVariant);\n  const onTapomgbd5 = activeVariantCallback(async (...args) => {\n    return await delay(() => openRoutev08n5h(), 100);\n  });\n  const variantProps = React.useMemo(() => ({\n    \"qkLXupZ1U-hover\": {\n      \"qkLXupZ1U\": {\n        \"data-highlight\": false\n      },\n      \"YvSrW417o\": {\n        \"rawHTML\": \"<span style='font-size: 0; line-height: 0; tab-size: 4; white-space: inherit; word-wrap: inherit'><span style='direction: ltr; font-size: 0'><span style=''>Title</span><br></span></span>\",\n        \"fonts\": [\"Inter-Bold\"]\n      },\n      \"HkQvP01on\": {\n        \"rawHTML\": \"<span style='font-size: 0; line-height: 0; tab-size: 4; white-space: inherit; word-wrap: inherit'><span style='direction: ltr; font-size: 0'><span style=''>Blurb</span><br></span></span>\",\n        \"fonts\": [\"Inter-Light\"]\n      }\n    }\n  }), []);\n  const addVariantProps = useAddVariantProps(baseVariant, gestureVariant, variantProps);\n  const defaultLayoutId = useRandomID();\n  return /*#__PURE__*/_jsx(LayoutGroup, {\n    id: layoutId !== null && layoutId !== void 0 ? layoutId : defaultLayoutId,\n    children: /*#__PURE__*/_jsx(motion.div, {\n      initial: variant,\n      animate: variants,\n      onHoverStart: () => setGestureState({\n        isHovered: true\n      }),\n      onHoverEnd: () => setGestureState({\n        isHovered: false\n      }),\n      onTapStart: () => setGestureState({\n        isPressed: true\n      }),\n      onTap: () => setGestureState({\n        isPressed: false\n      }),\n      onTapCancel: () => setGestureState({\n        isPressed: false\n      }),\n      className: cx(\"framer-06Wlr\", classNames),\n      style: {\n        \"display\": \"contents\",\n        \"pointerEvents\": \"auto\"\n      },\n      children: /*#__PURE__*/_jsxs(Stack, { ...restProps,\n        layoutId: \"qkLXupZ1U\",\n        className: cx(\"framer-omgbd5\", className),\n        style: {\n          \"borderBottomLeftRadius\": 8,\n          \"borderBottomRightRadius\": 8,\n          \"borderTopRightRadius\": 8,\n          \"borderTopLeftRadius\": 8,\n          \"boxShadow\": \"0px 3px 6px 0px rgba(132, 0, 255, 0.26)\",\n          \"backgroundColor\": \"rgb(255, 255, 255)\",\n          \"--border-bottom-width\": \"1px\",\n          \"--border-top-width\": \"1px\",\n          \"--border-right-width\": \"1px\",\n          \"--border-left-width\": \"1px\",\n          \"--border-style\": \"solid\",\n          \"--border-color\": \"var(--token-8dd6f42c-25e0-4d2f-b6e0-688cfdb555c8, rgb(132, 0, 255)) /* {\\\"name\\\":\\\"Purpledurple\\\"} */\",\n          \"rotate\": 0,\n          ...style\n        },\n        direction: \"vertical\",\n        distribution: \"start\",\n        alignment: \"start\",\n        gap: 10,\n        __fromCanvasComponent: true,\n        __contentWrapperStyle: {\n          \"width\": \"100%\",\n          \"height\": \"auto\",\n          \"padding\": \"36px 36px 36px 36px\"\n        },\n        center: false,\n        \"data-highlight\": true,\n        \"data-framer-name\": \"Variant 1\",\n        \"data-border\": true,\n        onTap: onTapomgbd5,\n        variants: {\n          \"qkLXupZ1U-hover\": {\n            \"backgroundColor\": \"var(--token-8dd6f42c-25e0-4d2f-b6e0-688cfdb555c8, rgb(132, 0, 255))\",\n            \"rotate\": 3\n          }\n        },\n        transition: transition,\n        layoutDependency: layoutDependency,\n        ref: ref,\n        ...addVariantProps(\"qkLXupZ1U\"),\n        children: [/*#__PURE__*/_jsx(Text, {\n          style: {\n            \"--framer-font-family\": \"\\\"Inter-Bold\\\", \\\"Inter\\\", sans-serif\",\n            \"--framer-font-style\": \"normal\",\n            \"--framer-font-weight\": 700,\n            \"--framer-text-color\": \"rgb(0, 0, 0)\",\n            \"--framer-font-size\": \"16px\",\n            \"--framer-letter-spacing\": \"0px\",\n            \"--framer-text-transform\": \"none\",\n            \"--framer-text-decoration\": \"none\",\n            \"--framer-line-height\": \"1.2em\",\n            \"--framer-text-alignment\": \"start\",\n            \"--framer-link-text-color\": \"rgb(0, 153, 255)\",\n            \"--framer-link-text-decoration\": \"underline\"\n          },\n          withExternalLayout: true,\n          verticalAlignment: \"top\",\n          __fromCanvasComponent: true,\n          fonts: [\"Inter-Bold\"],\n          layoutId: \"YvSrW417o\",\n          className: \"framer-1nv82pw\",\n          rawHTML: \"<span style='font-size: 0; line-height: 0; tab-size: 4; white-space: inherit; word-wrap: inherit'><span style='direction: ltr; font-size: 0'><span style=''>Title</span><br></span></span>\",\n          text: btxmMPWKp,\n          variants: {\n            \"qkLXupZ1U-hover\": {\n              \"--framer-text-color\": \"rgb(255, 255, 255)\"\n            }\n          },\n          transition: transition,\n          layoutDependency: layoutDependency,\n          ...addVariantProps(\"YvSrW417o\")\n        }), /*#__PURE__*/_jsx(Text, {\n          style: {\n            \"--framer-font-family\": \"\\\"Inter-Light\\\", \\\"Inter\\\", sans-serif\",\n            \"--framer-font-style\": \"normal\",\n            \"--framer-font-weight\": 300,\n            \"--framer-text-color\": \"rgb(0, 0, 0)\",\n            \"--framer-font-size\": \"16px\",\n            \"--framer-letter-spacing\": \"0px\",\n            \"--framer-text-transform\": \"none\",\n            \"--framer-text-decoration\": \"none\",\n            \"--framer-line-height\": \"1.2em\",\n            \"--framer-text-alignment\": \"start\",\n            \"--framer-link-text-color\": \"rgb(0, 153, 255)\",\n            \"--framer-link-text-decoration\": \"underline\"\n          },\n          withExternalLayout: true,\n          verticalAlignment: \"top\",\n          __fromCanvasComponent: true,\n          fonts: [\"Inter-Light\"],\n          layoutId: \"HkQvP01on\",\n          className: \"framer-1dmbrqp\",\n          rawHTML: \"<span style='font-size: 0; line-height: 0; tab-size: 4; white-space: inherit; word-wrap: inherit'><span style='direction: ltr; font-size: 0'><span style=''>Blurb</span><br></span></span>\",\n          text: PeyZZ6vP0,\n          variants: {\n            \"qkLXupZ1U-hover\": {\n              \"--framer-text-color\": \"rgb(255, 255, 255)\"\n            }\n          },\n          transition: transition,\n          layoutDependency: layoutDependency,\n          ...addVariantProps(\"HkQvP01on\")\n        })]\n      })\n    })\n  });\n});\nconst css = [\".framer-06Wlr [data-border=\\\"true\\\"]::after { content: \\\"\\\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none;}\", \"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\", \".framer-06Wlr * { box-sizing: border-box; }\", \".framer-06Wlr .framer-omgbd5 { position: relative; cursor: pointer; overflow: hidden; width: 696px; height: min-content; }\", \".framer-06Wlr .framer-1nv82pw, .framer-06Wlr .framer-1dmbrqp { position: relative; overflow: hidden; width: 100%; height: auto; flex: none; white-space: pre-wrap; word-wrap: break-word; word-break: break-word; }\", \".framer-06Wlr.framer-v-omgbd5 .framer-omgbd5 { cursor: pointer; }\"];\n/**\n* This is a generated Framer component.\n* @framerIntrinsicHeight 120\n* @framerIntrinsicWidth 696\n* @framerCanvasComponentVariantDetails {\"propertyName\": \"variant\", \"data\": {\"default\": {\"layout\": [\"fixed\", \"auto\"]}, \"ZRXLpQrnr\": {\"layout\": [\"fixed\", \"auto\"]}}}\n* @framerVariables {\"btxmMPWKp\": \"title\", \"PeyZZ6vP0\": \"blurb\"}\n*/\n\nconst Framerdhm5DaSKx = withCSS(Component, css);\nexport default Framerdhm5DaSKx;\nFramerdhm5DaSKx.displayName = \"WPPost\";\nFramerdhm5DaSKx.defaultProps = {\n  \"width\": 696,\n  \"height\": 120\n};\naddPropertyControls(Framerdhm5DaSKx, {\n  \"btxmMPWKp\": {\n    \"type\": ControlType.String,\n    \"title\": \"Title\",\n    \"defaultValue\": \"Title\",\n    \"displayTextArea\": false\n  },\n  \"PeyZZ6vP0\": {\n    \"type\": ControlType.String,\n    \"title\": \"Blurb\",\n    \"defaultValue\": \"Blurb\",\n    \"displayTextArea\": true\n  }\n});\naddFonts(Framerdhm5DaSKx, []);\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"Props\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"default\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"Framerdhm5DaSKx\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerIntrinsicWidth\": \"696\",\n        \"framerIntrinsicHeight\": \"120\",\n        \"framerContractVersion\": \"1\",\n        \"framerCanvasComponentVariantDetails\": \"{\\\"propertyName\\\": \\\"variant\\\", \\\"data\\\": {\\\"default\\\": {\\\"layout\\\": [\\\"fixed\\\", \\\"auto\\\"]}, \\\"ZRXLpQrnr\\\": {\\\"layout\\\": [\\\"fixed\\\", \\\"auto\\\"]}}}\",\n        \"framerVariables\": \"{\\\"btxmMPWKp\\\": \\\"title\\\", \\\"PeyZZ6vP0\\\": \\\"blurb\\\"}\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n}; //# sourceMappingURL=./dhm5DaSKx.map", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { createStore } from \"https://framer.com/m/framer/store.js@^1.0.0\";\nimport { useEffect } from \"react\";\nimport { motion } from \"framer-motion\";\nimport WPPost from \"https://framerusercontent.com/modules/hdTAud8vMTjI1mP7efQI/t1v5MyduNqNe7PpXrGmN/dhm5DaSKx.js\"; // Learn more: https://www.framer.com/docs/guides/overrides/\n\nconst useStore = createStore({\n  posts: [],\n  activePostIndex: 0\n});\nexport function setTransformOriginToTop(Component) {\n  return props => {\n    return /*#__PURE__*/_jsx(Component, { ...props,\n      layout: \"size\",\n      style: { ...props.style,\n        originX: 0.5,\n        originY: 0\n      }\n    });\n  };\n}\nexport function FullPost(Component) {\n  return props => {\n    const [store, setStore] = useStore();\n    const post = store.posts[store.activePostIndex];\n    return /*#__PURE__*/_jsx(Component, { ...props,\n      layoutId: post.id,\n      style: { ...props.style,\n        maxWidth: 860\n      },\n      title: post.title.rendered,\n      content: post.content.rendered\n    });\n  };\n}\nexport function WPPostsFetcher(Component) {\n  return props => {\n    const [store, setStore] = useStore();\n\n    const fetchPost = async () => {\n      const url = `https://gvv-aspasia.nl/volleybal/wp-json/wp/v2/posts?per_page=1&page=${store.posts.length + 1}`;\n      const response = await fetch(url);\n      const data = await response.json();\n      const newPost = await data;\n      setStore({\n        posts: [...store.posts, ...newPost]\n      });\n    };\n\n    const openPost = postIndex => {\n      setStore({ ...store,\n        activePostIndex: postIndex\n      });\n      if (props.onTap) props.onTap();\n    };\n\n    useEffect(fetchPost, []);\n    const variants = {\n      initial: {\n        scale: 0,\n        opacity: 0,\n        borderRadius: 6\n      },\n      visible: {\n        scale: 1,\n        opacity: 1\n      },\n      hover: {\n        rotate: 6,\n        backgroundColor: \"rebeccapurple\",\n        color: \"#fff\"\n      }\n    };\n    return /*#__PURE__*/_jsx(Component, { ...props,\n      layout: true,\n      style: { ...postsList\n      },\n      children: store.posts.map((post, i) => /*#__PURE__*/_jsx(motion.div, {\n        variants: variants,\n        initial: \"initial\",\n        animate: \"visible\",\n        whileHover: \"hover\",\n        style: {\n          flex: 1,\n          maxWidth: \"50vw\",\n          minWidth: \"360px\",\n          height: \"fit-content\"\n        },\n        children: /*#__PURE__*/_jsx(WPPost, {\n          // key={post.id}\n          layoutId: post.id,\n          title: post.title.rendered,\n          blurb: post.excerpt.rendered,\n          onViewportEnter: fetchPost,\n          viewport: {\n            once: true,\n            margin: \"0px 0px 800px 0px\"\n          },\n          onClick: () => openPost(i),\n          style: {\n            width: \"100%\"\n          }\n        })\n      }, post.id))\n    });\n  };\n}\nconst postsList = {\n  display: \"flex\",\n  flexDirection: \"row\",\n  flexWrap: \"wrap\",\n  justifyContent: \"center\",\n  alignContent: \"flex-start\",\n  gap: 24,\n  height: \"fit-content\",\n  overflowX: \"hidden\",\n  padding: 64,\n  paddingTop: 220\n};\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"setTransformOriginToTop\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"setTransformOriginToTop\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"WPPostsFetcher\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"WPPostsFetcher\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"FullPost\": {\n      \"type\": \"reactHoc\",\n      \"name\": \"FullPost\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n}; //# sourceMappingURL=./WordPressPoC.map"],
  "mappings": "kPAAwD,GAAI,IAAE,WAAY,GAAI,EAAQ,EAAM,GAAE,WAAY,GAAI,EAAQ,EAAM,EAAE,GAAS,GAAE,GAAE,EAAE,MAAM,EAAE,SAAS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