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,EAAAA,IAAe8B,EAAAA,GAAa,CAChCC,KAAM,KACNC,MAAO,UACPC,UAAU,EACVC,QAAU,SAAUC,GAChBC,EAAAA,GAAUhB,EAAQiB,IACpB,EACFhC,SAAU,SAEhBiB,UAAWL,EAAIqB,mBAGvBhB,UAAWL,EAAIsB,gBAErBvC,EAAAA,IAAewC,EAAAA,GAA+B,CACxCpB,QAASA,EACTE,UAAWL,EAAIwB,uBACfC,gBAAiB3C,EAAM2C,gBACvBC,YAAc,SAAUC,GAEtB,EACFvC,SAAUwC,EAAAA,GAAiB7C,EAAAA,IAAe,MAAO,CACvCK,SAAU,wBAA0BN,EAAM+C,YAAYC,mBACtDzB,UAAWL,EAAI+B,+BAK/C,CAgBA,IAAIC,EATJ,SAA4ClD,GAC1C,IAAImD,EAAUnD,EAAMA,MACpB,OAAOC,EAAAA,IAAemB,EAAuD,CACjE2B,YAAaK,EAAAA,GAAmBD,EAAQJ,aACxC1B,QAASgC,EAAAA,GAAyBF,EAAQ9B,SAC1CsB,gBAAiBW,EAAAA,GAAiBC,SAASvD,EAAMwD,QAAQC,iBAEvE,E,kYCnFA,iBAAeC,GAAA,IAAGF,EAAOE,EAAPF,QAAYxD,EAAK2D,EAAAD,EAAAE,GAAA,OAAOC,EAAAA,cAACC,EAA0B,CAAC9D,MAAOA,EAAOwD,QAASA,GAAW,C","sources":["webpack://datacenters/./client/app/rescript/bundles/product-reservation/confirm/SuccessImage.res.js","webpack://datacenters/./client/app/rescript/bundles/product-reservation/confirm/ProductReservationComplete.res.js","webpack://datacenters/./client/app/rescript/bundles/product-reservation/confirm/index.js"],"sourcesContent":["// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as Svg from \"../../../styleguide/components/Svg/Svg.res.js\";\nimport * as JsxRuntime from \"react/jsx-runtime\";\n\nfunction SuccessImage(props) {\n return JsxRuntime.jsx(Svg.make, {\n title: \"Success\",\n viewBoxWidth: \"442\",\n viewBoxHeight: \"140\",\n children: JsxRuntime.jsxs(\"g\", {\n children: [\n JsxRuntime.jsx(\"path\", {\n d: \"M-3.63797881e-12,70 C21.3333333,46.8151042 50.6666667,35.2226562 88,35.2226562 C154.217717,35.2226562 159.40394,77.4644217 286,92.9414063 C338,99.2986594 378,86.0942323 406,53.328125\",\n stroke: \"#7ACCC8\",\n strokeDasharray: \"11,18\",\n strokeLinecap: \"round\",\n strokeWidth: \"3\"\n }),\n JsxRuntime.jsxs(\"g\", {\n children: [\n JsxRuntime.jsx(\"circle\", {\n cx: \"70\",\n cy: \"70\",\n fill: \"#FFFFFF\",\n r: \"66\",\n stroke: \"#7ACCC8\",\n strokeWidth: \"8\"\n }),\n JsxRuntime.jsx(\"path\", {\n d: \"M49.5355339,68.5355339 L59.4644661,78.4644661 C61.4170876,80.4170876 64.5829124,80.4170876 66.5355339,78.4644661 L91.4644661,53.5355339 C93.4170876,51.5829124 96.5829124,51.5829124 98.5355339,53.5355339 L99.4644661,54.4644661 C101.417088,56.4170876 101.417088,59.5829124 99.4644661,61.5355339 L66.5355339,94.4644661 C64.5829124,96.4170876 61.4170876,96.4170876 59.4644661,94.4644661 L41.5355339,76.5355339 C39.5829124,74.5829124 39.5829124,71.4170876 41.5355339,69.4644661 L42.4644661,68.5355339 C44.4170876,66.5829124 47.5829124,66.5829124 49.5355339,68.5355339 Z\",\n fill: \"#933CDD\"\n })\n ],\n transform: \"translate(150.000000, 0.000000)\"\n }),\n JsxRuntime.jsx(\"path\", {\n d: \"M399.510287,35.5305776 L439,19 L410,46 L399.201048,39.0578165 C398.271908,38.4605122 398.002902,37.2230845 398.600206,36.2939444 C398.819259,35.9531955 399.13662,35.6869964 399.510287,35.5305776 Z\",\n fill: \"#18C3BB\"\n }),\n JsxRuntime.jsx(\"path\", {\n d: \"M413,49 L440,20 L423.469422,59.4897131 C423.042906,60.5086133 421.871164,60.9888353 420.852264,60.5623189 C420.478597,60.4059001 420.161236,60.139701 419.942183,59.7989521 L413,49 Z\",\n fill: \"#18C3BB\"\n })\n ],\n fill: \"none\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: \"1\"\n })\n });\n}\n\nvar make = SuccessImage;\n\nexport {\n make ,\n}\n/* Svg Not a pure module */\n","// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as Cx from \"rescript-classnames/src/Cx.res.js\";\nimport * as H2 from \"../../../styleguide/components/Heading/H2.res.js\";\nimport * as Url from \"../../../utils/Url.res.js\";\nimport * as User from \"../../../models/User.res.js\";\nimport * as Button from \"../../../styleguide/components/Button/Button.res.js\";\nimport * as Container from \"../../../styleguide/components/Container/Container.res.js\";\nimport * as Caml_option from \"rescript/lib/es6/caml_option.js\";\nimport * as Reservation from \"../../../models/Reservation.res.js\";\nimport * as SuccessImage from \"./SuccessImage.res.js\";\nimport * as ColocationProduct from \"../../../models/ColocationProduct.res.js\";\nimport * as JsxRuntime from \"react/jsx-runtime\";\nimport * as ProductDetailsForSidebar from \"../../product-detail/product-details-for-sidebar/ProductDetailsForSidebar.res.js\";\nimport * as ProductReservationScss from \"../ProductReservation.scss\";\n\nvar css = ProductReservationScss;\n\nfunction ProductReservationComplete$ProductReservationComplete(props) {\n var product = props.product;\n return JsxRuntime.jsxs(Container.make, {\n className: Cx.cx([\n css.layout,\n css.additionalPadding\n ]),\n children: [\n JsxRuntime.jsxs(\"div\", {\n children: [\n JsxRuntime.jsx(SuccessImage.make, {}),\n JsxRuntime.jsx(H2.make, {\n className: css.formTitle,\n children: \"Here's What Happens Next:\"\n }),\n JsxRuntime.jsxs(\"ul\", {\n children: [\n JsxRuntime.jsx(\"li\", {\n children: \"You'll be contacted by a representative within 24-hours.\"\n }),\n JsxRuntime.jsx(\"li\", {\n children: \"Thank you for using Datacenters.com!\"\n })\n ],\n className: css.nextStepsList\n }),\n JsxRuntime.jsx(\"div\", {\n children: JsxRuntime.jsx(Button.make, {\n size: \"LG\",\n color: \"Primary\",\n expanded: true,\n onClick: (function (param) {\n Url.visit(product.url);\n }),\n children: \"Okay\"\n }),\n className: css.buttonContainer\n })\n ],\n className: css.formContainer\n }),\n JsxRuntime.jsx(ProductDetailsForSidebar.make, {\n product: product,\n className: css.productDetailsComplete,\n userLoginStatus: props.userLoginStatus,\n setUserData: (function (prim) {\n \n }),\n children: Caml_option.some(JsxRuntime.jsx(\"div\", {\n children: \"Confirmation number: \" + props.reservation.confirmationNumber,\n className: css.confirmationNumberLabel\n }))\n })\n ]\n });\n}\n\nvar ProductReservationComplete = {\n css: css,\n make: ProductReservationComplete$ProductReservationComplete\n};\n\nfunction ProductReservationComplete$default(props) {\n var props$1 = props.props;\n return JsxRuntime.jsx(ProductReservationComplete$ProductReservationComplete, {\n reservation: Reservation.fromJs(props$1.reservation),\n product: ColocationProduct.fromJs(props$1.product),\n userLoginStatus: User.LoginStatus.fromBool(props.context.isUserSignedIn)\n });\n}\n\nvar $$default = ProductReservationComplete$default;\n\nexport {\n ProductReservationComplete ,\n $$default as default,\n}\n/* css Not a pure module */\n","import * as React from 'react';\n\nimport ProductReservationComplete from './ProductReservationComplete.res.js';\n\nexport default ({ context, ...props }) => ;\n"],"names":["make","props","JsxRuntime","Svg","title","viewBoxWidth","viewBoxHeight","children","d","stroke","strokeDasharray","strokeLinecap","strokeWidth","cx","cy","fill","r","transform","fillRule","css","ProductReservationScss","ProductReservationComplete$ProductReservationComplete","product","Container","className","Cx","layout","additionalPadding","SuccessImage","H2","formTitle","nextStepsList","Button","size","color","expanded","onClick","param","Url","url","buttonContainer","formContainer","ProductDetailsForSidebar","productDetailsComplete","userLoginStatus","setUserData","prim","Caml_option","reservation","confirmationNumber","confirmationNumberLabel","$$default","props$1","Reservation","ColocationProduct","User","fromBool","context","isUserSignedIn","_ref","_objectWithoutProperties","_excluded","React","ProductReservationComplete"],"sourceRoot":""}