{"ScriptPreparationCode":"var MyObject = {\r\n apiServerPath: null,\r\n bodyId: null,\r\n bootstrap: {\r\n currency_constants: {\r\n big_money_cents: 10000,\r\n default_custom_pledge_cents: 500,\r\n default_pledge_amount_cents: 100,\r\n max_pledge_cents: 1500000,\r\n min_pledge_cents: 100,\r\n payout_minimum: 100,\r\n recommended_minimum_tier_amount: 300,\r\n referral_cents: 5000,\r\n tier_minimum_round_to_cents: 100,\r\n tier_recommendation_round_to_cents: 500,\r\n },\r\n currentUser: null,\r\n defaultUserCurrency: \u0027USD\u0027,\r\n experienceLocationCountryCode: \u0027US\u0027,\r\n formattingLocale: \u0027en-US\u0027,\r\n supported_currencies: [\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027AUD\u0027,\r\n default_locale_code: \u0027en-AU\u0027,\r\n description: \u0027Austrailian Dollars\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 1500000,\r\n num_subunits: 100,\r\n symbol: \u0027AU$\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027CAD\u0027,\r\n default_locale_code: \u0027en-CA\u0027,\r\n description: \u0027Canadian Dollars\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 1500000,\r\n num_subunits: 100,\r\n symbol: \u0027CA$\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027CZK\u0027,\r\n default_locale_code: \u0027cs-cz\u0027,\r\n description: \u0027Czech Koruna\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 35500000,\r\n num_subunits: 100,\r\n symbol: \u0027CZK\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027DKK\u0027,\r\n default_locale_code: \u0027da-DK\u0027,\r\n description: \u0027Danish Kroner\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 9500000,\r\n num_subunits: 100,\r\n symbol: \u0027DKK\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027EUR\u0027,\r\n default_locale_code: \u0027en-IE\u0027,\r\n description: \u0027Euros\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 1300000,\r\n num_subunits: 100,\r\n symbol: \u0027\\u20ac\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027GBP\u0027,\r\n default_locale_code: \u0027en-GB\u0027,\r\n description: \u0027British Pounds Sterling\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 1200000,\r\n num_subunits: 100,\r\n symbol: \u0027\\u00a3\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027HKD\u0027,\r\n default_locale_code: \u0027zh-hk\u0027,\r\n description: \u0027Hong Kong Dollar\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 11500000,\r\n num_subunits: 100,\r\n symbol: \u0027HKD\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027HUF\u0027,\r\n default_locale_code: \u0027hu-hu\u0027,\r\n description: \u0027Hungarian Forint\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 516000000,\r\n num_subunits: 100,\r\n symbol: \u0027HUF\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027NOK\u0027,\r\n default_locale_code: \u0027nb-NO\u0027,\r\n description: \u0027Norwegian Kroner\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 12500000,\r\n num_subunits: 100,\r\n symbol: \u0027NOK\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027NZD\u0027,\r\n default_locale_code: \u0027en-nz\u0027,\r\n description: \u0027New Zealand Dollar\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 2200000,\r\n num_subunits: 100,\r\n symbol: \u0027NZD\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027PLN\u0027,\r\n default_locale_code: \u0027pl-pl\u0027,\r\n description: \u0027Polish Zloty\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 6500000,\r\n num_subunits: 100,\r\n symbol: \u0027PLN\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027RON\u0027,\r\n default_locale_code: \u0027ro-ro\u0027,\r\n description: \u0027Romanian Leu\u0027,\r\n is_launched: false,\r\n max_pledge_subunits: 6500000,\r\n num_subunits: 100,\r\n symbol: \u0027RON\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027SEK\u0027,\r\n default_locale_code: \u0027sv-SE\u0027,\r\n description: \u0027Swedish Kronor\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 13000000,\r\n num_subunits: 100,\r\n symbol: \u0027SEK\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027SGD\u0027,\r\n default_locale_code: \u0027zh-sg\u0027,\r\n description: \u0027Singapore Dollar\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 2000000,\r\n num_subunits: 100,\r\n symbol: \u0027SGD\u0027,\r\n },\r\n {\r\n available_for_pay_in: true,\r\n available_for_pay_out: true,\r\n code: \u0027USD\u0027,\r\n default_locale_code: \u0027en-US\u0027,\r\n description: \u0027US Dollars\u0027,\r\n is_launched: true,\r\n max_pledge_subunits: 1500000,\r\n num_subunits: 100,\r\n symbol: \u0027$\u0027,\r\n },\r\n ],\r\n translationLocale: \u0027en-US\u0027,\r\n },\r\n campaignFeatures: {},\r\n csrfSignature: \u0027rVLduiKw-UOCYxW1KkJMe_z67SqC4Vgo6TR2wY1dAe0\u0027,\r\n cssAssetUrls: [\r\n \u0027https://asdfads.com/asdf.css\u0027,\r\n ],\r\n executionEnv: \u0027ec2\u0027,\r\n experiments: {},\r\n facebookApiVersion: \u0027v10.0\u0027,\r\n facebookAppId: \u00272310376075918452\u0027,\r\n fbPixelId: \u00272172022483098392\u0027,\r\n featureFlags: {\r\n analytics_refactor: false,\r\n announcement_banner_ticker: false,\r\n campaign_plan_features: true,\r\n cms_homepage: true,\r\n cms_local_business_vertical_page: true,\r\n cms_pricing_page: true,\r\n cms_product_lite_page: true,\r\n cms_product_page_bundle: true,\r\n cms_vertical_page_bundle: true,\r\n creator_demo: true,\r\n disable_patron_manager: true,\r\n discord_improvements_v1: false,\r\n discord_improvements_v2: false,\r\n enable_advanced_logging: false,\r\n enable_search_api: true,\r\n experience_location: true,\r\n hide_instagram_social_connect: false,\r\n hide_starter_kit_nav_link: false,\r\n insights_documents: false,\r\n insights_payouts: true,\r\n membership_V2: false,\r\n merch_mockup_generation: true,\r\n merch_new_products: true,\r\n navigation_revamp_2022: false,\r\n patron_manager_deprecate_jinja: true,\r\n payout_reorg_2019_q3: true,\r\n pendo_whats_new: true,\r\n pinned_posts: true,\r\n pledgeflow_location_modal_cancel: false,\r\n pql_merch_access: false,\r\n pro_plus_merch_deny: false,\r\n react_sha: \u0027asdfasdfw\u0027,\r\n rename_rewards: true,\r\n rewards_manager: true,\r\n sunset_patron_manager: false,\r\n us_ca_location_capture: true,\r\n verify_user_location: true,\r\n },\r\n formattingLocale: \u0027en-US\u0027,\r\n googleAnalyticsId: null,\r\n googlePixel: true,\r\n isAdmin: false,\r\n isAdvancedTechSupportEnabled: false,\r\n isAppleConnectEnabled: false,\r\n isFacebookConnectedEnabled: false,\r\n isFacebookPixelEnabled: true,\r\n isGooglePixelEnabled: false,\r\n isGooglePlacesEnabled: false,\r\n isImpersonating: false,\r\n isInternalPage: false,\r\n isKetchEnabled: false,\r\n isPendoEnabled: null,\r\n meta: {\r\n desc:\r\n \u0027Lorem ipsum and whatnot\u0027,\r\n height: 2000,\r\n imageUrl: \u0027https://test.jpg\u0027,\r\n isPrivate: true,\r\n key: \u0027artists, creators, patron, sponsor, music, videos\u0027,\r\n title: \u0027Blah\u0027,\r\n url: \u0027https://bla.com\u0027,\r\n viewport:\r\n \u0027device-width, initial-scale=1.0001, minimum-scale=1.0001, maximum-scale=1.0001, shrink-to-fit=no, user-scalable=no\u0027,\r\n },\r\n pageLoadEvent: {\r\n name: null,\r\n params: {},\r\n },\r\n presets: {\r\n additional_banner_data: {\r\n ccpa_cookie_disclosure: {\r\n cookie_name: \u0027did_accept_ccpa\u0027,\r\n },\r\n },\r\n current_banners: [\u0027creator_demo\u0027],\r\n device_id: \u0027a6fd0b7b-asdfasd-4242-dsfsdaf-61420ed1c6d9\u0027,\r\n is_impersonating: false,\r\n js_git_sha: \u0027c4661928aasdfasd08abda6034d3704d3b4ad772cd52\u0027,\r\n navigation: {\r\n concierge_status: {\r\n finished_at: null,\r\n started_at: null,\r\n },\r\n has_suspended_posts: false,\r\n has_undelivered_deliverables: false,\r\n impersonation_write_access: false,\r\n is_active_creator: false,\r\n is_admin: false,\r\n is_impersonating: false,\r\n logged_in_become_creator_cta: null,\r\n referer_url: null,\r\n show_referral_program: false,\r\n show_taxes_page: false,\r\n teammate_status: {\r\n is_owner: false,\r\n is_teammate: false,\r\n },\r\n unread_messages_count: null,\r\n unread_notifications_count: null,\r\n utm_params: {},\r\n },\r\n page_title: \u0027Test\u0027,\r\n public_path:\r\n \u0027https://d1341d24.test.com/assets\u0027,\r\n verify_location: null,\r\n },\r\n requestUUID: \u002723423-2342342-435345-34534\u0027,\r\n sessionId:\r\n \u0027153424123412341f234d1234d124d\u0027,\r\n siftJsKey: \u0027asdf432\u0027,\r\n userId: 0,\r\n webServerPath: \u0027d1341d24.test.com\u0027,\r\n useSSRData: true,\r\n};\r\n\r\nvar myCopy = null;","TestCases":[{"Name":"Lodash cloneDeep","Code":"myCopy = _.cloneDeep(MyObject);","IsDeferred":false},{"Name":"Spread operator","Code":"myCopy = {...MyObject};","IsDeferred":false},{"Name":"Object.assign","Code":"mycopy = Object.assign({}, MyObject)","IsDeferred":false}]}