{"id":3931,"date":"2022-09-29T19:48:06","date_gmt":"2022-09-29T19:48:06","guid":{"rendered":"https:\/\/www.gemcar.com\/?page_id=3931"},"modified":"2025-01-29T19:28:31","modified_gmt":"2025-01-29T19:28:31","slug":"build-your-gem","status":"publish","type":"page","link":"https:\/\/www.gemcar.com\/build-your-gem\/","title":{"rendered":"Build Your GEM"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3931\" class=\"elementor elementor-3931\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-df58cea elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"df58cea\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5e97e9f\" data-id=\"5e97e9f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cf04ce8 elementor-widget elementor-widget-html\" data-id=\"cf04ce8\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<link href=\"https:\/\/assets.expivi.net\/options\/latest\/css\/app.css\" rel=\"stylesheet\" \/>\n<script src=\"https:\/\/assets.expivi.net\/viewer\/latest\/viewer.js\"><\/script>\n<script src=\"https:\/\/assets.expivi.net\/options\/latest\/js\/app.js\"><\/script>\n<script src=\"https:\/\/gemcar.com\/wp-content\/themes\/astra-child\/assets\/dist\/js\/bundle.js\"><\/script>\n\n<style type=\"text\/css\">\n\n#expiviContainer {\n    display: flex;\n\tflex-direction: row;\n\tjustify-content: space-between;\n\t\/*align-content: stretch;*\/\n\tflex-wrap: wrap;\n\n\n}\n#viewerContainer {\n    width: 70%;\n    height: 70vh;\n    float: left;\n\n}\n#summaryContainer {\n    width: 30%;\n\n}\n\n#viewerContainer {\n\ttop: 0px;\n\tposition: sticky;\n\tposition: -webkit-sticky; \/* Safari *\/\n}\n\n\/* optionscontainer *\/\n#summaryContainer * {\n      font-family: \"Poppins\", Sans-serif;\n}\n\n.v-application .primary--text {\n  color: #007599 !important;\n    caret-color: #007599 !important;\n}\n.v-application--wrap {\n  min-height:unset;\n}\n\n.v-application .primary {\n  background-color: #007599 !important;\n    border-color: #007599 !important;\n}\n\n@media only screen and (max-width: 768px) {\n\n\t#expiviContainer {\n\theight: 100%;\n\n\t}\n\t.expivi_viewer_outer_container  {\n\tposition:sticky !important;\n\tposition: -webkit-sticky; \/* Safari *\/\n    top:0px;\n\t\tz-index: 2;\n\t\tbox-shadow: 0px 8px 10px rgba(0, 0, 0, 0.1);\n\t\tmargin-bottom: 30px;\n}\n\t#viewerContainer {\n\twidth:100% !important;\n\theight: 50vh !important;\n\tz-index:2;\n\t}\n\t#summaryContainer {\n\twidth:100% !important;\n\n\n    }\n}\n\n@media only screen and (min-width:769px){\n    .mb-4.mt-1 {\n        max-width:135px;\n    }\n}\n\n.active-overlay svg {\n  color: #73E55A;\n  width: 48px;\n  height: 48px;\n  filter: drop-shadow(2px 2px 1.5px #000);\n}\n.active-overlay {\n  border: 2px solid #73E55A!important;\n}\n\n.xpv__viewer_toolbar_container, .interacted > .xpv__viewer_toolbar_container, .xpv__viewer_toolbar_container:hover {\n    opacity: 1!important;\n    transition: none!important;\n}\n\n.price {\n    text-align: right;\n    padding-right: 28px;\n}\n\n<\/style>\n\n<div id=\"expiviContainer\">\n<div id=\"viewerContainer\"><\/div>\n<div id=\"summaryContainer\">\n  <div id=\"optionsContainer\"><\/div>\n  <!--<div id=\"priceContainer\"><\/div>-->\n<\/div>\n<\/div>\n\n<script type=\"text\/javascript\">\n  var build_config = window.gem_build_config || null\n\n  window.addEventListener(\"load\", function () {\n    console.log(window.location.search);\n    const params = new URLSearchParams(window.location.search);\n    let product = null;\n    let stereo = null;\n    let carriers = null;\n    let roof_accessories = null;\n    let configuration = null;\n\n    let enable3d = {\n      attribute_id: 210706,\n      attribute_value: {\n        attribute_value_id: 0,\n      },\n    };\n\n    let e2 = {\n      attribute_id: 162239,\n      attribute_value: {\n        attribute_value_id: 379808,\n      },\n    };\n\n    let e4 = {\n      attribute_id: 162239,\n      attribute_value: {\n        attribute_value_id: 378127,\n      },\n    };\n\n    let e6 = {\n      attribute_id: 162239,\n      attribute_value: {\n        attribute_value_id: 381884,\n      },\n    };\n\n    let eLXD = {\n      attribute_id: 162239,\n      attribute_value: {\n        attribute_value_id: 383281,\n      },\n    };\n\n    let beaconLight = {\n      attribute_id: 162284,\n      attribute_value: {\n        attribute_value_id: 378222,\n      },\n    };\n\n    let lightBar = {\n      attribute_id: 162284,\n      attribute_value: {\n        attribute_value_id: 378223,\n      },\n    };\n\n    let twoSpeaker = {\n      attribute_id: 168158,\n      attribute_value: {\n        attribute_value_id: 399941,\n      },\n    };\n\n    let boxSides = {\n      attribute_id: 162299,\n      attribute_value: {\n        attribute_value_id: 383265,\n      },\n    };\n\n    let boxSidesLadderRack = {\n      attribute_id: 162299,\n      attribute_value: {\n        attribute_value_id: 383266,\n      },\n    };\n\n    let lBoxLadderRack = {\n      attribute_id: 162299,\n      attribute_value: {\n        attribute_value_id: 383278,\n      },\n    };\n\n    let lBox = {\n      attribute_id: 162299,\n      attribute_value: {\n        attribute_value_id: 383277,\n      },\n    };\n\n    let sBox = {\n      attribute_id: 162299,\n      attribute_value: {\n        attribute_value_id: 378273,\n      },\n    };\n\n    let trunkback = {\n      attribute_id: 162299,\n      attribute_value: {\n        attribute_value_id: 378274,\n      },\n    };\n\n    if (params.has(\"product\")) {\n      let vehicle = params.get(\"product\");\n\n      switch (vehicle) {\n        case \"e2\":\n          product = e2;\n          break;\n        case \"e4\":\n          product = e4;\n          break;\n        case \"e6\":\n          product = e6;\n          break;\n        case \"eLXD\":\n          product = eLXD;\n          break;\n      }\n    }\n\n\n\n    if (params.has(\"package\")) {\n      let config = params.get(\"package\");\n\n      switch (config) {\n        case \"maintenance\":\n          product = eLXD;\n          stereo = twoSpeaker;\n          carriers = boxSides;\n          break;\n        case \"construction\":\n          product = eLXD;\n          stereo = twoSpeaker;\n          roof_accessories = beaconLight;\n          carriers = boxSidesLadderRack;\n          break;\n        case \"technician\":\n          product = eLXD;\n          stereo = twoSpeaker;\n          roof_accessories = beaconLight;\n          carriers = lBoxLadderRack;\n          break;\n        case \"delivery\":\n          product = eLXD;\n          stereo = twoSpeaker;\n          roof_accessories = beaconLight;\n          carriers = lBox;\n          break;\n\n        \/\/ e4, e6\n        \/\/ front and side tool chests, ladder rack not available options for e4\/e6\n        case \"shuttles\":\n          stereo = twoSpeaker;\n          roof_accessories = beaconLight;\n          break;\n\n        \/\/ e2, e4\n        case \"safety\":\n          stereo = twoSpeaker;\n          roof_accessories = lightBar;\n          carriers = trunkback;\n          break;\n\n        case \"housekeeping\":\n          stereo = twoSpeaker;\n          carriers = sBox;\n          break;\n      }\n    }\n\n    var expiviInstance = new ExpiviComponent.default({\n      catalogueId: 18529,\n      viewerContainer: \"#viewerContainer\",\n      optionContainer: \"#optionsContainer\",\n      priceSelectors: \"#priceContainer\",\n      currency: \"USD\",\n      locale: \"en\",\n      autoScrollToView: true,\n      token:\n        \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjRjN2JlNWViZWJlNDNhMDNmMTBkMDQxMWU3ZWY5YjU0MmU1NzQyNWU3MjhlOGRhOWY2NzRhZTdmNDNhNTk1YTI2NGNlOGRkMzA3NzczYTAwIn0.eyJhdWQiOiIxIiwianRpIjoiNGM3YmU1ZWJlYmU0M2EwM2YxMGQwNDExZTdlZjliNTQyZTU3NDI1ZTcyOGU4ZGE5ZjY3NGFlN2Y0M2E1OTVhMjY0Y2U4ZGQzMDc3NzNhMDAiLCJpYXQiOjE2NjQzOTU3MjUsIm5iZiI6MTY2NDM5NTcyNSwiZXhwIjoxOTgwMDE0OTI0LCJzdWIiOiI1NDU4Iiwic2NvcGVzIjpbXX0.EBVd37s01-Uo9UVtoBc8T9s67GD0SEWjiqRaHdSRmf2n-NT_kYrrp9osRNHRXjZc6xSoY0Lvop5B0tBGTUce5Kd5ar3ISV1HEPSz76RlZkFEuVWLCa_5FxmLbewf2jmDnBCmgwIQd8o6wuICKxkGaGCtMQF-DdgLweqJInEVTtGC5Wv4b2-tijeVZoJCWr1ySkIwQybqQjv2omW2l-DtTIx4VNcvJP_Is6KXnMj14hVhrQ_mfgg2Gs98AW2X66oDzQQqL5B2D5pfU1hu3LtlLiUptXTxQgwl2IqJ27c-4AjhT3BitoIOy41o-fNtU2eFKgrqJuuV891s14Ue8cFlUan5cggDfkW7FTTszhQQfV7DKtYxWDH1fh1DwhuLarabL1EbqZQ03H-dCpLmVicdD2PdOTBVSTcBSY9NHDqz70hJR-rVsvTagv4Ie-Kfg3q92hDl-iEu_qlRTaviIwXTsPHXpcdrxqQof5flJr1DF6ERca7hn19F1uu-Tyjyi9NXPoGlAPYiADIu0fnGd02rQBjBV4UxrymxMOAYMg2UwEzNTCka0FO4oRH_SAYvuG9zcWU8j9wijrbQo1V_9d4ku8-hhW5Quojt3-yNNy53_Nv2k5zv1_DSKoWoLfluJ8mdIQQCgmbeIATjjkNruOm7DSoFwc2s8rQdTB45vr4cJpE\",\n      configuration: build_config || {\n        configured_products: [\n          {\n            version: \"2.0\",\n            catalogue_id: 18529,\n            configuration: {\n              \/\/attributes: [product, roof_accessories, stereo, carriers, enable3d],\n              materials: {\n                85583: 615649,\n                85584: 615644,\n                85585: 615654,\n                85957: 617059,\n                85961: 617060,\n                86354: 618509,\n                86355: 618507,\n                86397: 618514,\n                86824: 619116,\n              },\n            },\n            uuid: \"def48ae3-5772-4130-73e6-bc98eaa6da2c\",\n          },\n        ],\n      },\n    });\n  });\n<\/script>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-87a4d44 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"87a4d44\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-b2940dd\" data-id=\"b2940dd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f81d056 elementor-widget elementor-widget-spacer\" data-id=\"f81d056\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.7.8 - 02-10-2022 *\/\n.elementor-column .elementor-spacer-inner{height:var(--spacer-size)}.e-container{--container-widget-width:100%}.e-container>.elementor-widget-spacer{width:var(--container-widget-width,var(--spacer-size));-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-negative:0;flex-shrink:0}.e-container>.elementor-widget-spacer>.elementor-widget-container,.e-container>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer{height:100%}.e-container>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner{height:var(--container-widget-height,var(--spacer-size))}<\/style>\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-591ec1d elementor-widget elementor-widget-heading\" data-id=\"591ec1d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.7.8 - 02-10-2022 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h1 class=\"elementor-heading-title elementor-size-small\">Build Your GEM Electric Vehicle<\/h1>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-601a731\" data-id=\"601a731\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e59f44e elementor-align-right elementor-widget elementor-widget-button\" data-id=\"e59f44e\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t<a href=\"#\" class=\"elementor-button-link elementor-button elementor-size-sm\" role=\"button\" id=\"submit\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-text\">I'm Finished<\/span>\n\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cb32fc4 elementor-widget elementor-widget-text-editor\" data-id=\"cb32fc4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.7.8 - 02-10-2022 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#818a91;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#818a91;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t\n\n<small>Subject to the Waev Inc. <a href=\"https:\/\/www.waevinc.com\/privacy\/\">Privacy Policy<\/a>.<\/small>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c820fa1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c820fa1\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a1bc3a2\" data-id=\"a1bc3a2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d2dccd elementor-widget elementor-widget-html\" data-id=\"7d2dccd\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script>\njQuery(document).ready(function(){\n  var expiviReady = false;  \n\n  const button = document.getElementById('submit');\n  button.style['background-color'] = 'gray';\n  button.style['pointer-events'] = 'none';\n\n  button.addEventListener('click', async function handleClick(event) {\n    if(expiviReady == false){\n      event.stopImmediatePropagation();\n      return;\n    }\n\n    let response = await expivi.saveConfiguration();\n  \/\/   console.log(response)\n    \/\/const u = new URLSearchParams(response).toString();\n  \/\/   console.log(u)\n\n    let result = JSON.stringify(response);\n    let hiddenInputField = document.getElementById('wpforms-4573-field_3');\n    hiddenInputField.value = result;\n  });\n\n  var expiviLoadInterval = setInterval(function(){\n    if(window.expivi && window.expivi && window.expivi.viewer && window.expivi.viewer.mViewerComponent && window.expivi.viewer.mViewerComponent.mRenderActive){\n      button.style['background-color'] = null;\n      button.style['pointer-events'] = null;\n      expiviReady = true;\n      clearInterval(expiviLoadInterval);\n    }\n\n  },500);\n\n});\n\n<\/script>\n\n\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jspdf\/2.5.1\/jspdf.umd.min.js\"><\/script>\n\n<script>\nwindow.expivi._events.onReady.subscribe(function(){\n\t\/\/ Adds image option\n\t\/\/jQuery('.xpv__viewer_toolbar_container').prepend('<button id=\"xpv-toolbar-item-image\" type=\"button\" class=\"bottom-right\">&nbsp;IMAGE&nbsp;<\/button>');\n\tjQuery('.xpv__viewer_toolbar_container').prepend('<button id=\"xpv-toolbar-item-image\" type=\"button\" class=\"bottom-right\"><img src=\"\/wp-content\/uploads\/icons\/download.svg\"><\/button>');\n\tjQuery('#xpv-toolbar-item-image').click(async function(){\n\t\t\/\/var configuration = await window.expivi.saveConfiguration();\n\t\t\/\/var imageString = configuration.configured_products[0].thumbnail;\n\t\tvar imageString = await window.expivi.getScreenshot(1080, 1080, 'ACTIVE_CAMERA', 'image\/png');\n\t\timageString = imageString.replace('data:image\/png;base64,', '');\n\t\tconst byteCharacters = atob(imageString);\n\t\tvar byteNumbers = new Array(byteCharacters.length);\n\t\tfor (let i = 0; i < byteCharacters.length; i++) {\n\t\t    byteNumbers[i] = byteCharacters.charCodeAt(i);\n\t\t}\n\t\tvar byteArray = new Uint8Array(byteNumbers);\n\t\tvar a = document.createElement(\"a\");\n\t\ta.href = window.URL.createObjectURL(new Blob([byteArray], {type: \"image\/png\"}));\n\t\ta.download = \"gem_build.png\";\n\t\ta.click();\n\t});\n\n\t\/\/ Adds PDF option\n\t\/\/jQuery('.xpv__viewer_toolbar_container').prepend('<button id=\"xpv-toolbar-item-pdf\" type=\"button\" class=\"bottom-right\">&nbsp;PDF&nbsp;<\/button>');\n\tjQuery('.xpv__viewer_toolbar_container').prepend('<button id=\"xpv-toolbar-item-pdf\" type=\"button\" class=\"bottom-right\"><img src=\"\/wp-content\/uploads\/icons\/pdf.svg\"><\/button>');\n\tjQuery('#xpv-toolbar-item-pdf').click(async function(){\n\t\tvar configuration = await window.expivi.saveConfiguration();\n\t\t\/\/var imageString = configuration.configured_products[0].thumbnail;\n\t\tvar imageString = await window.expivi.getScreenshot(1080, 1080, 'ACTIVE_CAMERA', 'image\/png');\n\t\t\/\/imageString = imageString.replace('data:image\/png;base64,', '');\n\t\tvar price = configuration.configured_products[0].price.base;\n\t\tvar attributes = configuration.configured_products[0].attributes;\n\t\tvar emailBody = \"\";\n\/\/ \t\temailBody += \"MSRP Price: $\" + price + \"\\n\";\n\t\tfor (let i = 0; i < attributes.length; i++) {\n\t\t\temailBody += attributes[i].attribute_name + \": \" + attributes[i].attribute_value_name + \"\\n\";\n\t\t}\n\n\t\t\/\/emailBody += \"\\nMSRP price excludes shipping, delivery or handling fees, taxes, title license\\nand registration. Final price may differ. Dealer price may vary.\\n\";\n\/\/ \t\temailBody += \"\\nMSRP price excludes $1,740 destination fee ($1,890 for e6), delivery or handling\\nfees, taxes, title license and registration. Final price may differ. Dealer price may vary.\\n\";\n\n\t\tif(window.jspdf){\n\t\t\tvar pdf = new window.jspdf.jsPDF();\n\t\t\tpdf.addImage(imageString, \"png\", 10, 30, 95, 95);\n\t\t\tpdf.setFontSize(18);\n\t\t\tpdf.text(\"GEM Build Summary\", 10, 20);\n\t\t\tpdf.setFontSize(14);\n     \t\tpdf.text(emailBody, 10, 135);\n         \tpdf.save('gem_build.pdf');\n         }\n\t});\n\n\t\/\/ Adds email option\n\t\/\/jQuery('.xpv__viewer_toolbar_container').prepend('<button id=\"xpv-toolbar-item-email\" type=\"button\" class=\"bottom-right\">&nbsp;EMAIL&nbsp;<\/button>');\n\tjQuery('.xpv__viewer_toolbar_container').prepend('<button id=\"xpv-toolbar-item-email\" type=\"button\" class=\"bottom-right\"><img src=\"\/wp-content\/uploads\/icons\/email.svg\"><\/button>');\n\tjQuery('#xpv-toolbar-item-email').click(async function(){\n\t\tvar configuration = await window.expivi.saveConfiguration();\n\n\t\tfunction createEmail(buildUrl) {\n\t\t\t\n\t\t\tvar price = configuration.configured_products[0].price.base;\n\t\t\tvar attributes = configuration.configured_products[0].attributes;\n\t\t\t\/\/var imageString = configuration.configured_products[0].thumbnail;\n\t\t\tvar emailBody = \"I just designed my own GEM electric vehicle. View my GEM build here:%0d%0a%0d%0a\"\n\t\t\temailBody += \"Build Link: \" + buildUrl + \"%0d%0a\";\n\t\t\t\/\/emailBody += '<html><head><\/head><body><img loading=\"lazy\" width=\"100\" height=\"100\" src=\"' + imageString + '\"><\/body><\/html>%0d%0a';\n\/\/ \t\t\temailBody += \"MSRP Price: $\" + price + \"%0d%0a\";\n\t\t\tfor (let i = 0; i < attributes.length; i++) {\n\t\t\t\temailBody += attributes[i].attribute_name + \": \" + attributes[i].attribute_value_name + \"%0d%0a\";\n\t\t\t}\n\n\/\/ \t\t\temailBody += \"%0d%0aMSRP price excludes shipping, delivery or handling fees, taxes, title license and registration. Final price may differ. Dealer price may vary.%0d%0a\";\n\n\t\t\tvar a = document.createElement(\"a\");\n\t\t\ta.href = \"mailto:?subject=View my GEM build&body=\" + emailBody;\n\t\t\ta.click();\n\t\t}\n\n\t\tjQuery.ajax({\n\t\t \ttype: \"POST\",\n\t\t  \turl: '\/wp-admin\/admin-ajax.php?action=create_build_config_link',\n\t\t  \tdata: {config: JSON.stringify(configuration)},\n\t\t  \tsuccess: function(response){\n\t\t  \t\tconsole.log(response);\n\t\t  \t\tconsole.log(response['url']);\n\t\t    \tcreateEmail(response['url']);\n\t\t\t}\n\t\t});\n\t});\n\n});\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Build Your GEM Electric Vehicle I&#8217;m Finished Subject to the Waev Inc. Privacy Policy.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Build Your Gem<\/title>\n<meta name=\"description\" content=\"Build and price your GEM electric vehicle. Customize with 50+ options including color, wheels, seats, entertainment, roof, carriers and more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.gemcar.com\/build-your-gem\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build Your Gem\" \/>\n<meta property=\"og:description\" content=\"Build and price your GEM electric vehicle. Customize with 50+ options including color, wheels, seats, entertainment, roof, carriers and more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.gemcar.com\/build-your-gem\/\" \/>\n<meta property=\"og:site_name\" content=\"GEM - Electric Vehicles\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-29T19:28:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.gemcar.com\/build-your-gem\/\",\"url\":\"https:\/\/www.gemcar.com\/build-your-gem\/\",\"name\":\"Build Your Gem\",\"isPartOf\":{\"@id\":\"https:\/\/www.gemcar.com\/#website\"},\"datePublished\":\"2022-09-29T19:48:06+00:00\",\"dateModified\":\"2025-01-29T19:28:31+00:00\",\"description\":\"Build and price your GEM electric vehicle. Customize with 50+ options including color, wheels, seats, entertainment, roof, carriers and more.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.gemcar.com\/build-your-gem\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.gemcar.com\/build-your-gem\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.gemcar.com\/build-your-gem\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.gemcar.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build Your GEM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.gemcar.com\/#website\",\"url\":\"https:\/\/www.gemcar.com\/\",\"name\":\"GEM - Electric Vehicles\",\"description\":\"Different by Design\",\"publisher\":{\"@id\":\"https:\/\/www.gemcar.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.gemcar.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.gemcar.com\/#organization\",\"name\":\"GEM Electric Vehicles\",\"url\":\"https:\/\/www.gemcar.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gemcar.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.gemcar.com\/wp-content\/uploads\/2022\/09\/GEM-logo-round-black-e1686002642968.png\",\"contentUrl\":\"https:\/\/www.gemcar.com\/wp-content\/uploads\/2022\/09\/GEM-logo-round-black-e1686002642968.png\",\"width\":900,\"height\":900,\"caption\":\"GEM Electric Vehicles\"},\"image\":{\"@id\":\"https:\/\/www.gemcar.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Build Your Gem","description":"Build and price your GEM electric vehicle. Customize with 50+ options including color, wheels, seats, entertainment, roof, carriers and more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.gemcar.com\/build-your-gem\/","og_locale":"en_US","og_type":"article","og_title":"Build Your Gem","og_description":"Build and price your GEM electric vehicle. Customize with 50+ options including color, wheels, seats, entertainment, roof, carriers and more.","og_url":"https:\/\/www.gemcar.com\/build-your-gem\/","og_site_name":"GEM - Electric Vehicles","article_modified_time":"2025-01-29T19:28:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.gemcar.com\/build-your-gem\/","url":"https:\/\/www.gemcar.com\/build-your-gem\/","name":"Build Your Gem","isPartOf":{"@id":"https:\/\/www.gemcar.com\/#website"},"datePublished":"2022-09-29T19:48:06+00:00","dateModified":"2025-01-29T19:28:31+00:00","description":"Build and price your GEM electric vehicle. Customize with 50+ options including color, wheels, seats, entertainment, roof, carriers and more.","breadcrumb":{"@id":"https:\/\/www.gemcar.com\/build-your-gem\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.gemcar.com\/build-your-gem\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.gemcar.com\/build-your-gem\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.gemcar.com\/"},{"@type":"ListItem","position":2,"name":"Build Your GEM"}]},{"@type":"WebSite","@id":"https:\/\/www.gemcar.com\/#website","url":"https:\/\/www.gemcar.com\/","name":"GEM - Electric Vehicles","description":"Different by Design","publisher":{"@id":"https:\/\/www.gemcar.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.gemcar.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.gemcar.com\/#organization","name":"GEM Electric Vehicles","url":"https:\/\/www.gemcar.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gemcar.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.gemcar.com\/wp-content\/uploads\/2022\/09\/GEM-logo-round-black-e1686002642968.png","contentUrl":"https:\/\/www.gemcar.com\/wp-content\/uploads\/2022\/09\/GEM-logo-round-black-e1686002642968.png","width":900,"height":900,"caption":"GEM Electric Vehicles"},"image":{"@id":"https:\/\/www.gemcar.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/pages\/3931"}],"collection":[{"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/comments?post=3931"}],"version-history":[{"count":210,"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/pages\/3931\/revisions"}],"predecessor-version":[{"id":13700,"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/pages\/3931\/revisions\/13700"}],"wp:attachment":[{"href":"https:\/\/www.gemcar.com\/wp-json\/wp\/v2\/media?parent=3931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}