{"__browser":{"country":"US","device":"unknown_device","mobile":false,"name":"unknown browser","platform":"unknown_platform","version":"0"},"__constants":{},"__CPDATA":{"domain_iframe":"https://cdpn.io","environment":"production","host":"codepen.io","iframe_allow":"accelerometer *; ambient-light-sensor *; camera *; display-capture *; encrypted-media *; geolocation *; gyroscope *; microphone *; midi *; payment *; vr *; web-share *; serial *; xr-spatial-tracking *","iframe_sandbox":"allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups-to-escape-sandbox allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation"},"__graphql":{"data":{"data":{"sessionUser":{"id":"VoDkNZ","name":"Captain Anonymous","title":"Captain Anonymous","avatar":"https://assets.codepen.io/t-1/user-default-avatar.jpg?format=auto&version=0","currentContext":{"id":"VoDkNZ","title":"Captain Anonymous","name":"Captain Anonymous","avatar":"https://assets.codepen.io/t-1/user-default-avatar.jpg?format=auto&version=0","username":"anon","__typename":"User"},"currentTeamId":null,"username":"anon","admin":false,"anon":true,"pro":false,"verified":false,"featureFlags":[],"teams":[],"__typename":"User"}}},"url":"https://codepen.io/graphql","api":"cprails"},"__user":{"anon":true,"base_url":"/anon/","cohorts":[],"current_team_hashid":null,"current_team_id":0,"hashid":"VoDkNZ","id":1,"itemType":"user","name":"Captain Anonymous","paid":false,"tier":0,"username":"anon","created_at":null,"email_verified":null,"collections_count":0,"collections_private_count":0,"followers_count":0,"followings_count":0,"pens_count":0,"pens_private_count":0,"projects_count":0,"projects_private_count":0},"__firebase":{"config":{"apiKey":"AIzaSyBgLAe7N_MdFpuVofMkcQLGwwhUu5tuxls","authDomain":"codepen-store-production.firebaseapp.com","databaseURL":"https://codepen-store-production.firebaseio.com","disabled":false,"projectId":"codepen-store-production"},"token":"eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImNsYWltcyI6eyJvd25lcklkIjoiVm9Ea05aIiwiYWRtaW4iOmZhbHNlfSwiZXhwIjoxNzI4NzE2NDc3LCJpYXQiOjE3Mjg3MTI4NzcsImlzcyI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6IlZvRGtOWiJ9.D3C7YXr5x5_Mo3VM_on9DVMx529n7fWrZaJlyVlmbYPgCi4ExPOfk5Iac1zdR6ppJvBsomMNCZ-3g2OG9PYXoeQzrLKMkCRaxtrbzbzZ1LGnj6P36PRtK1bMlmCeTJyLnBBT76L8JnMF58-wrjSH8ZoJnFatZ8hNfhO7gHemoKwUdP9zdhpMLx7bHzFZ6j4Ucos4z7z4DDw1Q4M_FtRjaaCFCuG5U45XG3fXbgCj4yoA12T7JIG4DkIgZ9ddLrdy8XV2wGIbQYliYKSwuPPwT_Y3NFeJ88xb_ZoOLzKqOLQEogozQqkm9MhEL_pmMeoW8-KhUMgp2Rqqbsxv-5NiNQ"},"__pay_stripe_public_key":"pk_live_2GndomDfiklqpSNQn8FrGuwZSMIMzha7DkLJqlYe7IR0ihKAlKdiHg68JJc5eVPt68rzAjzAAVXcUwjySHRCsgjQQ00gtRBUFNH","__pay_braintree_env":"production","__item":"{\"id\":56570003,\"user_id\":1887094,\"html\":\"<html>\\n <body>\\n <!-- This div will host the builder -->\\n <div id=\\\"CustomElement\\\"><\\/div>\\n\\n <\\/body>\\n<\\/html>\",\"css\":\"#CustomElement {\\n position: absolute;\\n left: 10px;\\n right: 10px;\\n top: 10px;\\n bottom: 10px;\\n}\",\"js\":\"import { Builder } from \\\"https:\\/\\/cdn.skypack.dev\\/@tripetto\\/builder\\\";\\n\\n\\/\\/ Create a new builder instance\\nconst builder = new Builder({\\n element: document.getElementById(\\\"CustomElement\\\"),\\n disableResizing: true\\n});\\n\\n\\/\\/ Open the builder\\nbuilder.open();\\n\\n\\/\\/ Upon window resize notify the builder\\nwindow.addEventListener(\\\"resize\\\", () => builder.resize());\\nwindow.addEventListener(\\\"orientationchange\\\", () => builder.resize());\\n\",\"html_pre_processor\":\"none\",\"css_pre_processor\":\"less\",\"js_pre_processor\":\"typescript\",\"html_classes\":\"\",\"css_starter\":\"neither\",\"js_library\":null,\"created_at\":\"2021-11-11T21:57:24.726Z\",\"updated_at\":\"2023-04-05T13:07:57.711Z\",\"title\":\"Tripetto SDK \\/ Builder \\/ Plain JS \\/ Monitor host element resizing using global events\",\"description\":\"\",\"slug_hash\":\"rNzZOqp\",\"head\":\"\",\"private\":true,\"slug_hash_private\":\"ef9f7d26de2821c9af7979ec2685df28\",\"has_animation\":false,\"team_id\":0,\"css_prefix\":\"neither\",\"template\":false,\"parent_id\":0,\"comments_count\":0,\"custom_screenshot_filename\":null,\"loves_count\":0,\"pick\":false,\"popularity_score\":0,\"views_count\":0,\"pick_visible_at\":null,\"cpid\":\"017d1101-6876-7b3f-9fa0-235a9188547b\",\"is_new_editor_pen\":false,\"protected\":false,\"access\":\"Private\",\"pen_hash\":null,\"hashid\":\"rNzZOqp\"}"}