{"version":3,"file":"Calendly.BIz3Azp8.mjs","names":["css","_react2","b","p","__assign","o","u","t","e","n","d","i","InlineWidget","event","PopupButton","PopupWidget","CalendlyEventListener","InlineWidget"],"sources":["https:/jspm.dev/npm:react-calendly@2.2.1!cjs","https:/jspm.dev/react-calendly@2.2.1","https:/framerusercontent.com/modules/WIJbzyan03eQVbqqCNqQ/ZVFGE0CIYem9dXbVNw5j/Calendly.js"],"sourcesContent":["import * as _react2 from './npm:react@17!cjs';\n\nvar _react = \"default\" in _react2 ? _react2.default : _react2;\n\nvar exports = {};\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar React = _react;\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n\n/* global Reflect, Promise */\n\nvar extendStatics = function (d, b) {\n  extendStatics = Object.setPrototypeOf || {\n    __proto__: []\n  } instanceof Array && function (d, b) {\n    d.__proto__ = b;\n  } || function (d, b) {\n    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n  };\n\n  return extendStatics(d, b);\n};\n\nfunction __extends(d, b) {\n  extendStatics(d, b);\n\n  function __() {\n    this.constructor = d;\n  }\n\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nvar __assign = function () {\n  __assign = Object.assign || function __assign(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n\n      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n    }\n\n    return t;\n  };\n\n  return __assign.apply(this, arguments);\n};\n\nfunction styleInject(css, ref) {\n  if (ref === void 0) ref = {};\n  var insertAt = ref.insertAt;\n\n  if (!css || typeof document === \"undefined\") {\n    return;\n  }\n\n  var head = document.head || document.getElementsByTagName(\"head\")[0];\n  var style = document.createElement(\"style\");\n  style.type = \"text/css\";\n\n  if (insertAt === \"top\") {\n    if (head.firstChild) {\n      head.insertBefore(style, head.firstChild);\n    } else {\n      head.appendChild(style);\n    }\n  } else {\n    head.appendChild(style);\n  }\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nvar css = \"/*\\n  code is extracted from Calendly's embed stylesheet: https://assets.calendly.com/assets/external/widget.css\\n*/\\n\\n.calendly-inline-widget,\\n.calendly-inline-widget *,\\n.calendly-badge-widget,\\n.calendly-badge-widget *,\\n.calendly-overlay,\\n.calendly-overlay * {\\n    font-size:16px;\\n    line-height:1.2em\\n}\\n\\n.calendly-inline-widget iframe,\\n.calendly-badge-widget iframe,\\n.calendly-overlay iframe {\\n    display:inline;\\n    width:100%;\\n    height:100%\\n}\\n\\n.calendly-popup-content {\\n    position:relative\\n}\\n\\n.calendly-popup-content.calendly-mobile {\\n    -webkit-overflow-scrolling:touch;\\n    overflow-y:auto\\n}\\n\\n.calendly-overlay {\\n    position:fixed;\\n    top:0;\\n    left:0;\\n    right:0;\\n    bottom:0;\\n    overflow:hidden;\\n    z-index:9999;\\n    background-color:#a5a5a5;\\n    background-color:rgba(31,31,31,0.4)\\n}\\n\\n.calendly-overlay .calendly-close-overlay {\\n    position:absolute;\\n    top:0;\\n    left:0;\\n    right:0;\\n    bottom:0\\n}\\n\\n.calendly-overlay .calendly-popup {\\n    box-sizing:border-box;\\n    position:absolute;\\n    top:50%;\\n    left:50%;\\n    -webkit-transform:translateY(-50%) translateX(-50%);\\n    transform:translateY(-50%) translateX(-50%);\\n    width:80%;\\n    min-width:900px;\\n    max-width:1000px;\\n    height:90%;\\n    max-height:680px\\n}\\n\\n@media (max-width: 975px) {\\n    .calendly-overlay .calendly-popup {\\n        position:fixed;\\n        top:50px;\\n        left:0;\\n        right:0;\\n        bottom:0;\\n        -webkit-transform:none;\\n        transform:none;\\n        width:100%;\\n        height:auto;\\n        min-width:0;\\n        max-height:none\\n    }\\n}\\n\\n.calendly-overlay .calendly-popup .calendly-popup-content {\\n    height:100%;\\n}\\n\\n.calendly-overlay .calendly-popup-close {\\n    position:absolute;\\n    top:25px;\\n    right:25px;\\n    color:#fff;\\n    width:19px;\\n    height:19px;\\n    cursor:pointer;\\n    background:url(https://assets.calendly.com/assets/external/close-icon.svg) no-repeat;\\n    background-size:contain\\n}\\n\\n@media (max-width: 975px) {\\n    .calendly-overlay .calendly-popup-close {\\n        top:15px;\\n        right:15px\\n    }\\n}\\n\\n.calendly-badge-widget {\\n    position:fixed;\\n    right:20px;\\n    bottom:15px;\\n    z-index:9998\\n}\\n\\n.calendly-badge-widget .calendly-badge-content {\\n    display:table-cell;\\n    width:auto;\\n    height:45px;\\n    padding:0 30px;\\n    border-radius:25px;\\n    box-shadow:rgba(0,0,0,0.25) 0 2px 5px;\\n    font-family:sans-serif;\\n    text-align:center;\\n    vertical-align:middle;\\n    font-weight:bold;\\n    font-size:14px;\\n    color:#fff;\\n    cursor:pointer\\n}\\n\\n.calendly-badge-widget .calendly-badge-content.calendly-white {\\n    color:#666a73\\n}\\n\\n.calendly-badge-widget .calendly-badge-content span {\\n    display:block;\\n    font-size:12px\\n}\\n\\n.calendly-spinner {\\n    position:absolute;\\n    top:50%;\\n    left:0;\\n    right:0;\\n    -webkit-transform:translateY(-50%);\\n    transform:translateY(-50%);\\n    text-align:center;\\n    z-index:-1\\n}\\n\\n.calendly-spinner>div {\\n    display:inline-block;\\n    width:18px;\\n    height:18px;\\n    background-color:#e1e1e1;\\n    border-radius:50%;\\n    vertical-align:middle;\\n    -webkit-animation:calendly-bouncedelay 1.4s infinite ease-in-out;\\n    animation:calendly-bouncedelay 1.4s infinite ease-in-out;\\n    -webkit-animation-fill-mode:both;\\n    animation-fill-mode:both\\n}\\n\\n.calendly-spinner .calendly-bounce1 {\\n    -webkit-animation-delay:-0.32s;\\n    animation-delay:-0.32s\\n}\\n\\n.calendly-spinner .calendly-bounce2 {\\n    -webkit-animation-delay:-0.16s;\\n    animation-delay:-0.16s\\n}\\n\\n@-webkit-keyframes calendly-bouncedelay {\\n    0%,80%,100% {\\n        -webkit-transform:scale(0);\\n        transform:scale(0)\\n    } \\n    \\n    40%{\\n        -webkit-transform:scale(1);\\n        transform:scale(1)\\n    }\\n}\\n\\n@keyframes calendly-bouncedelay{ \\n    0%,80%,100% {\\n        -webkit-transform:scale(0);\\n        transform:scale(0)\\n    }\\n    \\n    40% {\\n        -webkit-transform:scale(1);\\n        transform:scale(1)\\n    }\\n}\";\nstyleInject(css); // @ts-nocheck\n\n/* eslint-disable  @typescript-eslint/no-unused-expressions */\n\n/* eslint-disable  no-restricted-globals */\n\nvar initializeCalendly = function () {\n  return (\n    /*\n    code is extracted from Calendly's embed script: https://assets.calendly.com/assets/external/widget.js\n    */\n    function () {\n      window.Calendly = {}, window.Calendly._util = {};\n    }.call(window), window.Calendly._util.domReady = function (t) {\n      var e = !1,\n          n = function () {\n        document.addEventListener ? (document.removeEventListener(\"DOMContentLoaded\", o), window.removeEventListener(\"load\", o)) : (document.detachEvent(\"onreadystatechange\", o), window.detachEvent(\"onload\", o));\n      },\n          o = function () {\n        e || !document.addEventListener && \"load\" !== event.type && \"complete\" !== document.readyState || (e = !0, n(), t());\n      };\n\n      if (\"complete\" === document.readyState) t();else if (document.addEventListener) document.addEventListener(\"DOMContentLoaded\", o), window.addEventListener(\"load\", o);else {\n        document.attachEvent(\"onreadystatechange\", o), window.attachEvent(\"onload\", o);\n        var i = !1;\n\n        try {\n          i = null == window.frameElement && document.documentElement;\n        } catch (r) {}\n\n        i && i.doScroll && !function l() {\n          if (!e) {\n            try {\n              i.doScroll(\"left\");\n            } catch (o) {\n              return setTimeout(l, 50);\n            }\n\n            e = !0, n(), t();\n          }\n        }();\n      }\n    }, window.Calendly._util.assign = function (t) {\n      if (null == t) throw new TypeError(\"Cannot convert undefined or null to object\");\n\n      for (var e = Object(t), n = 1; n < arguments.length; n++) {\n        var o = arguments[n];\n        if (null != o) for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (e[i] = o[i]);\n      }\n\n      return e;\n    }, function () {\n      window.Calendly._url = {}, window.Calendly._url.extractQueryStringParams = function (t) {\n        var e, n, o, i, r, l, a, d, u, s;\n\n        for (a = document.createElement(\"a\"), a.href = t, r = a.search.substr(1), l = {}, d = r.split(\"&\"), e = 0, o = d.length; o > e; e++) i = d[e], u = i.split(\"=\"), n = u[0], s = u[1], void 0 !== s && (l[n.toLowerCase()] = decodeURIComponent(s));\n\n        return l;\n      }, window.Calendly._url.stripQuery = function (t) {\n        return t.split(\"?\")[0];\n      };\n    }.call(window), function () {\n      window.Calendly._util.snakeCaseKeys = function (t) {\n        var e, n, o;\n        o = {};\n\n        for (n in t) e = n.split(/(?=[A-Z])/).join(\"_\").toLowerCase(), o[e] = t[n];\n\n        return o;\n      }, window.Calendly._util.pick = function (t, e) {\n        var n, o, i, r;\n\n        if (t) {\n          for (r = {}, n = 0, i = e.length; i > n; n++) o = e[n], t[o] && (r[o] = t[o]);\n\n          return r;\n        }\n      };\n    }.call(window), function (t, e) {\n      var n = {\n        exports: {}\n      };\n      n.exports = exports, e(n.exports), t.bodyScrollLock = n.exports;\n    }(window, function (t) {\n      function e(t) {\n        if (Array.isArray(t)) {\n          for (var e = 0, n = Array(t.length); e < t.length; e++) n[e] = t[e];\n\n          return n;\n        }\n\n        return Array.from(t);\n      }\n\n      Object.defineProperty(t, \"__esModule\", {\n        value: !0\n      });\n      var n = !1;\n\n      if (\"undefined\" != typeof window) {\n        var o = {\n          get passive() {\n            n = !0;\n          }\n\n        };\n        window.addEventListener(\"testPassive\", null, o), window.removeEventListener(\"testPassive\", null, o);\n      }\n\n      var i = \"undefined\" != typeof window && window.navigator && window.navigator.platform && /iP(ad|hone|od)/.test(window.navigator.platform),\n          r = [],\n          l = !1,\n          a = -1,\n          d = void 0,\n          u = void 0,\n          s = function (t) {\n        return r.some(function (e) {\n          return !(!e.options.allowTouchMove || !e.options.allowTouchMove(t));\n        });\n      },\n          c = function (t) {\n        var e = t || window.event;\n        return s(e.target) ? !0 : e.touches.length > 1 ? !0 : (e.preventDefault && e.preventDefault(), !1);\n      },\n          p = function (t) {\n        setTimeout(function () {\n          if (void 0 === u) {\n            var e = !!t && t.reserveScrollBarGap === !0,\n                n = window.innerWidth - document.documentElement.clientWidth;\n            e && n > 0 && (u = document.body.style.paddingRight, document.body.style.paddingRight = n + \"px\");\n          }\n\n          void 0 === d && (d = document.body.style.overflow, document.body.style.overflow = \"hidden\");\n        });\n      },\n          h = function () {\n        setTimeout(function () {\n          void 0 !== u && (document.body.style.paddingRight = u, u = void 0), void 0 !== d && (document.body.style.overflow = d, d = void 0);\n        });\n      },\n          y = function (t) {\n        return t ? t.scrollHeight - t.scrollTop <= t.clientHeight : !1;\n      },\n          m = function (t, e) {\n        var n = t.targetTouches[0].clientY - a;\n        return s(t.target) ? !1 : e && 0 === e.scrollTop && n > 0 ? c(t) : y(e) && 0 > n ? c(t) : (t.stopPropagation(), !0);\n      };\n\n      t.disableBodyScroll = function (t, o) {\n        if (i) {\n          if (!t) return void console.error(\"disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.\");\n\n          if (t && !r.some(function (e) {\n            return e.targetElement === t;\n          })) {\n            var d = {\n              targetElement: t,\n              options: o || {}\n            };\n            r = [].concat(e(r), [d]), t.ontouchstart = function (t) {\n              1 === t.targetTouches.length && (a = t.targetTouches[0].clientY);\n            }, t.ontouchmove = function (e) {\n              1 === e.targetTouches.length && m(e, t);\n            }, l || (document.addEventListener(\"touchmove\", c, n ? {\n              passive: !1\n            } : void 0), l = !0);\n          }\n        } else {\n          p(o);\n          var u = {\n            targetElement: t,\n            options: o || {}\n          };\n          r = [].concat(e(r), [u]);\n        }\n      }, t.clearAllBodyScrollLocks = function () {\n        i ? (r.forEach(function (t) {\n          t.targetElement.ontouchstart = null, t.targetElement.ontouchmove = null;\n        }), l && (document.removeEventListener(\"touchmove\", c, n ? {\n          passive: !1\n        } : void 0), l = !1), r = [], a = -1) : (h(), r = []);\n      }, t.enableBodyScroll = function (t) {\n        if (i) {\n          if (!t) return void console.error(\"enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.\");\n          t.ontouchstart = null, t.ontouchmove = null, r = r.filter(function (e) {\n            return e.targetElement !== t;\n          }), l && 0 === r.length && (document.removeEventListener(\"touchmove\", c, n ? {\n            passive: !1\n          } : void 0), l = !1);\n        } else r = r.filter(function (e) {\n          return e.targetElement !== t;\n        }), r.length || h();\n      };\n    }), function () {\n      var t, e, n, o, i;\n      window.Calendly._autoLoadInlineWidgets = function () {\n        return window.Calendly._util.domReady(function () {\n          return e();\n        });\n      }, window.Calendly.initBadgeWidget = function (e) {\n        return window.Calendly._util.domReady(function () {\n          return t(e);\n        });\n      }, window.Calendly.destroyBadgeWidget = function () {\n        return window.Calendly.badgeWidget ? (window.Calendly.badgeWidget.destroy(), delete window.Calendly.badgeWidget) : void 0;\n      }, window.Calendly.initPopupWidget = function (t) {\n        return window.Calendly._util.domReady(function () {\n          return window.Calendly.showPopupWidget(t.url, \"PopupButton\", t);\n        });\n      }, window.Calendly.initInlineWidget = function (t) {\n        return t.url ? (t.parentElement || (t.parentElement = o()), window.Calendly._util.domReady(function () {\n          return t.embedType = \"Inline\", new window.Calendly.Iframe(t);\n        })) : void 0;\n      }, window.Calendly.showPopupWidget = function (t, e, n) {\n        var o;\n        return null == e && (e = \"PopupButton\"), null == n && (n = {}), window.Calendly.closePopupWidget(), o = function () {\n          return delete window.Calendly.popupWidget;\n        }, window.Calendly.popupWidget = new window.Calendly.PopupWidget(t, o, e, n), window.Calendly.popupWidget.show();\n      }, window.Calendly.closePopupWidget = function () {\n        return window.Calendly.popupWidget ? window.Calendly.popupWidget.close() : void 0;\n      }, o = function () {\n        var t;\n        return t = document.scripts[document.scripts.length - 1], t.parentNode;\n      }, e = function () {\n        var t, e, n, o, r;\n\n        for (e = document.querySelectorAll(\".calendly-inline-widget\"), r = [], n = 0, o = e.length; o > n; n++) t = e[n], i(t) ? r.push(void 0) : (t.setAttribute(\"data-processed\", !0), r.push(new window.Calendly.Iframe({\n          parentElement: t,\n          inlineStyles: !0,\n          embedType: \"Inline\"\n        })));\n\n        return r;\n      }, i = function (t) {\n        return t.getAttribute(\"data-processed\") || \"false\" === t.getAttribute(\"data-auto-load\");\n      }, t = function (t) {\n        var e, o, i;\n        return window.Calendly.destroyBadgeWidget(), e = n(t), i = function () {\n          return window.Calendly.showPopupWidget(t.url, \"PopupWidget\", t);\n        }, o = window.Calendly._util.assign({\n          onClick: i\n        }, e), window.Calendly.badgeWidget = new window.Calendly.BadgeWidget(o);\n      }, n = function (t) {\n        var e, n;\n        return e = [\"color\", \"textColor\", \"text\", \"branding\"], n = {}, e.forEach(function (e) {\n          return n[e] = t[e], delete t[e];\n        }), n;\n      };\n    }.call(window), function () {\n      window.Calendly.Iframe = function () {\n        function t(t) {\n          this.options = t, this.parseOptions(), this.build(), this.inject();\n        }\n\n        return t.prototype.isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), t.prototype.parseOptions = function () {\n          var t;\n          if (t = {\n            inlineStyles: !1\n          }, this.options = window.Calendly._util.assign({}, t, this.options), this.parent = this.options.parentElement, !this.parent) throw \"Calendly: Parent element not set\";\n          if (this.parent.jquery && (this.parent = this.parent[0]), this.inlineStyles = this.options.inlineStyles, this.embedType = this.options.embedType, this.url = (this.options.url || this.getUrlFromParent()).split(\"#\")[0], !this.url) throw \"Calendly: Widget URL not set\";\n        }, t.prototype.build = function () {\n          return this.node = document.createElement(\"iframe\"), this.node.src = this.getSource(), this.node.width = \"100%\", this.node.height = \"100%\", this.node.frameBorder = \"0\", this.node.onload = function () {\n            var calendlySpinnerElement = document.querySelector(\".calendly-spinner\");\n\n            if (calendlySpinnerElement) {\n              calendlySpinnerElement.style.visibility = \"hidden\";\n            }\n          };\n        }, t.prototype.inject = function () {\n          return this.format(), this.parent.appendChild(this.buildSpinner()), this.parent.appendChild(this.node);\n        }, t.prototype.getSource = function () {\n          var t;\n          return t = window.Calendly._url.stripQuery(this.url) + \"?\" + this.getParams(), this.filterConsentParam(t);\n        }, t.prototype.getUrlFromParent = function () {\n          return this.parent.getAttribute(\"data-url\");\n        }, t.prototype.getParams = function () {\n          var t, e, n, o;\n          e = {\n            embed_domain: this.getDomain(),\n            embed_type: this.embedType\n          }, e = window.Calendly._util.assign(e, this.getUtmParamsFromHost(), this.getParamsFromUrl(), this.getParamsFromOptions()), n = [];\n\n          for (t in e) o = e[t], n.push(t + \"=\" + encodeURIComponent(o));\n\n          return n.join(\"&\");\n        }, t.prototype.getUtmParamsFromHost = function () {\n          var t, e;\n          return t = [\"utm_campaign\", \"utm_source\", \"utm_medium\", \"utm_content\", \"utm_term\"], e = window.Calendly._url.extractQueryStringParams(window.location.href), window.Calendly._util.pick(e, t);\n        }, t.prototype.getParamsFromUrl = function () {\n          return window.Calendly._url.extractQueryStringParams(this.url);\n        }, t.prototype.getParamsFromOptions = function () {\n          return window.Calendly._util.assign({}, this.getPrefillParams(), this.getUtmParams());\n        }, t.prototype.getUtmParams = function () {\n          var t;\n          return this.options.utm ? (t = [\"utmCampaign\", \"utmSource\", \"utmMedium\", \"utmContent\", \"utmTerm\"], window.Calendly._util.snakeCaseKeys(window.Calendly._util.pick(this.options.utm, t))) : null;\n        }, t.prototype.getPrefillParams = function () {\n          var t, e, n, o, i;\n          if (!this.options.prefill) return null;\n\n          if (e = [\"name\", \"firstName\", \"lastName\", \"email\", \"location\"], n = window.Calendly._util.snakeCaseKeys(window.Calendly._util.pick(this.options.prefill, e)), this.options.prefill.customAnswers) {\n            o = this.options.prefill.customAnswers;\n\n            for (t in o) i = o[t], t.match(/^a\\d{1,2}$/) && (n[t] = i);\n          }\n\n          if (this.options.prefill.guests && Array.isArray(this.options.prefill.guests) && this.options.prefill.guests.length > 0) {\n            n[\"guests\"] = this.options.prefill.guests.join(\",\");\n          }\n\n          if (this.options.prefill.date && this.options.prefill.date instanceof Date) {\n            var month = this.options.prefill.date.getMonth() + 1;\n            var day = this.options.prefill.date.getDate();\n            var year = this.options.prefill.date.getFullYear();\n            n[\"date\"] = [year, month < 10 ? \"0\" + month : month, day < 10 ? \"0\" + day : day].join(\"-\");\n          }\n\n          return n;\n        }, t.prototype.getDomain = function () {\n          return document.location.host;\n        }, t.prototype.filterConsentParam = function (t) {\n          return t.replace(/consent_accept=1&?/g, \"\");\n        }, t.prototype.format = function () {\n          return this.isMobile ? this.formatMobile() : this.formatDesktop();\n        }, t.prototype.formatDesktop = function () {\n          return this.inlineStyles ? this.parent.setAttribute(\"style\", \"position: relative;\" + this.parent.getAttribute(\"style\")) : void 0;\n        }, t.prototype.formatMobile = function () {\n          return this.inlineStyles ? this.parent.setAttribute(\"style\", \"position: relative;overflow-y:auto;-webkit-overflow-scrolling:touch;\" + this.parent.getAttribute(\"style\")) : this.parent.className += \" calendly-mobile\";\n        }, t.prototype.buildSpinner = function () {\n          var t;\n          return t = document.createElement(\"div\"), t.className = \"calendly-spinner\", t.appendChild(this.buildBounce(1)), t.appendChild(this.buildBounce(2)), t.appendChild(this.buildBounce(3)), t;\n        }, t.prototype.buildBounce = function (t) {\n          var e;\n          return e = document.createElement(\"div\"), e.className = \"calendly-bounce\" + t, e;\n        }, t;\n      }();\n    }.call(window), function () {\n      var t = function (t, e) {\n        return function () {\n          return t.apply(e, arguments);\n        };\n      };\n\n      window.Calendly.PopupWidget = function () {\n        function e(e, n, o, i) {\n          this.url = e, this.onClose = n, this.embedType = o, this.options = null != i ? i : {}, this.close = t(this.close, this);\n        }\n\n        return e.prototype.show = function () {\n          return this.buildOverlay(), this.insertOverlay(), this.lockPageScroll();\n        }, e.prototype.close = function () {\n          return this.unlockPageScroll(), this.destroyOverlay(), this.onClose();\n        }, e.prototype.buildOverlay = function () {\n          return this.overlay = document.createElement(\"div\"), this.overlay.className = \"calendly-overlay\", this.overlay.appendChild(this.buildCloseOverlay()), this.overlay.appendChild(this.buildPopup()), this.overlay.appendChild(this.buildCloseButton());\n        }, e.prototype.insertOverlay = function () {\n          return document.body.appendChild(this.overlay);\n        }, e.prototype.buildCloseOverlay = function () {\n          var t;\n          return t = document.createElement(\"div\"), t.className = \"calendly-close-overlay\", t.onclick = this.close, t;\n        }, e.prototype.buildPopup = function () {\n          var t;\n          return t = document.createElement(\"div\"), t.className = \"calendly-popup\", t.appendChild(this.buildPopupContent()), t;\n        }, e.prototype.buildPopupContent = function () {\n          var t;\n          return t = document.createElement(\"div\"), t.className = \"calendly-popup-content\", t.setAttribute(\"data-url\", this.url), this.options.parentElement = t, this.options.embedType = this.embedType, new window.Calendly.Iframe(this.options), t;\n        }, e.prototype.buildCloseButton = function () {\n          var t;\n          return t = document.createElement(\"div\"), t.className = \"calendly-popup-close\", t.onclick = this.close, t;\n        }, e.prototype.destroyOverlay = function () {\n          return this.overlay.parentNode.removeChild(this.overlay);\n        }, e.prototype.lockPageScroll = function () {\n          return bodyScrollLock.disableBodyScroll(this.overlay), document.addEventListener(\"touchmove\", this.handleLockedTouchmove, {\n            passive: !1\n          });\n        }, e.prototype.unlockPageScroll = function () {\n          return bodyScrollLock.enableBodyScroll(this.overlay), document.removeEventListener(\"touchmove\", this.handleLockedTouchmove, {\n            passive: !1\n          });\n        }, e.prototype.handleLockedTouchmove = function (t) {\n          return t.preventDefault();\n        }, e;\n      }();\n    }.call(window), function () {\n      window.Calendly.BadgeWidget = function () {\n        function t(t) {\n          this.options = t, this.buildWidget(), this.insertWidget();\n        }\n\n        return t.prototype.destroy = function () {\n          return this.widget.parentNode.removeChild(this.widget);\n        }, t.prototype.buildWidget = function () {\n          return this.widget = document.createElement(\"div\"), this.widget.className = \"calendly-badge-widget\", this.widget.appendChild(this.buildContent());\n        }, t.prototype.insertWidget = function () {\n          return document.body.insertBefore(this.widget, document.body.firstChild);\n        }, t.prototype.buildContent = function () {\n          var t;\n          return t = document.createElement(\"div\"), t.className = \"calendly-badge-content\", \"#ffffff\" === this.options.color && (t.className += \" calendly-white\"), t.onclick = this.options.onClick, t.innerHTML = this.options.text, t.style.background = this.options.color, t.style.color = this.options.textColor, this.options.branding && t.appendChild(this.buildBranding()), t;\n        }, t.prototype.buildBranding = function () {\n          var t;\n          return t = document.createElement(\"span\"), t.innerHTML = \"powered by Calendly\", t;\n        }, t;\n      }();\n    }.call(window), window.Calendly._autoLoadInlineWidgets()\n  );\n};\n\nvar CalendlyEvent;\n\n(function (CalendlyEvent) {\n  CalendlyEvent[\"PROFILE_PAGE_VIEWED\"] = \"calendly.profile_page_viewed\";\n  CalendlyEvent[\"EVENT_TYPE_VIEWED\"] = \"calendly.event_type_viewed\";\n  CalendlyEvent[\"DATE_AND_TIME_SELECTED\"] = \"calendly.date_and_time_selected\";\n  CalendlyEvent[\"EVENT_SCHEDULED\"] = \"calendly.event_scheduled\";\n})(CalendlyEvent || (CalendlyEvent = {}));\n\nvar loadScript = function () {\n  if (!window.Calendly) {\n    initializeCalendly();\n  }\n};\n\nvar withPageSettings = function (url, pageSettings) {\n  if (!pageSettings) return url;\n  var backgroundColor = pageSettings.backgroundColor,\n      hideEventTypeDetails = pageSettings.hideEventTypeDetails,\n      hideLandingPageDetails = pageSettings.hideLandingPageDetails,\n      primaryColor = pageSettings.primaryColor,\n      textColor = pageSettings.textColor,\n      hideGdprBanner = pageSettings.hideGdprBanner;\n  var queryStringIndex = url.indexOf(\"?\");\n  var hasQueryString = queryStringIndex > -1;\n  var queryString = url.slice(queryStringIndex + 1);\n  var baseUrl = hasQueryString ? url.slice(0, queryStringIndex) : url;\n  var updatedQueryString = [queryString, backgroundColor ? \"background_color=\" + backgroundColor : null, hideEventTypeDetails ? \"hide_event_type_details=1\" : null, hideLandingPageDetails ? \"hide_landing_page_details=1\" : null, primaryColor ? \"primary_color=\" + primaryColor : null, textColor ? \"text_color=\" + textColor : null, hideGdprBanner ? \"hide_gdpr_banner=1\" : null].filter(function (item) {\n    return item !== null;\n  }).join(\"&\");\n  return baseUrl + \"?\" + updatedQueryString;\n};\n\nvar openPopupWidget = function (options) {\n  loadScript();\n  var widgetOptions = {\n    url: withPageSettings(options.url, options.pageSettings),\n    prefill: options.prefill,\n    utm: options.utm\n  };\n  window.Calendly.initPopupWidget(widgetOptions);\n};\n\nvar closePopupWidget = function () {\n  loadScript();\n  window.Calendly.closePopupWidget();\n};\n\nvar defaultStyles = {\n  minWidth: \"320px\",\n  height: \"630px\"\n};\n\nvar InlineWidget =\n/** @class */\nfunction (_super) {\n  __extends(InlineWidget, _super);\n\n  function InlineWidget(props) {\n    var _this = _super.call(this, props) || this;\n\n    _this.widgetParentContainerRef = React.createRef();\n    _this.destroyInlineWidget = _this.destroyInlineWidget.bind(_this);\n    _this.getChildNodeCount = _this.getChildNodeCount.bind(_this);\n    _this.shouldWidgetUpdate = _this.shouldWidgetUpdate.bind(_this);\n    _this.initWidget = _this.initWidget.bind(_this);\n    return _this;\n  }\n\n  InlineWidget.prototype.componentDidUpdate = function (prevProps) {\n    var _this = this;\n\n    var shouldUpdate = this.shouldWidgetUpdate(prevProps);\n\n    if (shouldUpdate) {\n      /*\n       * If the Calendly Inline Widget (.calendly-spinner and iframe) has not\n       * yet been added to the DOM then we need to wait for the widget to be inserted\n       * prior to updating the component.\n       *\n       * Fixes https://github.com/tcampb/react-calendly/issues/25\n       */\n      if (!this.getChildNodeCount()) {\n        this.calendlyWidgetListener(\"inserted\", function () {\n          _this.calendlyWidgetListener(\"removed\", _this.initWidget);\n\n          _this.destroyInlineWidget();\n        });\n      } else {\n        this.destroyInlineWidget();\n        this.initWidget();\n      }\n    }\n  };\n\n  InlineWidget.prototype.componentDidMount = function () {\n    loadScript();\n    window.Calendly.initInlineWidget({\n      url: withPageSettings(this.props.url, this.props.pageSettings),\n      parentElement: this.widgetParentContainerRef.current,\n      prefill: this.props.prefill,\n      utm: this.props.utm\n    });\n  };\n\n  InlineWidget.prototype.render = function () {\n    return React.createElement(\"div\", {\n      className: \"calendly-inline-widget\",\n      style: this.props.styles || defaultStyles,\n      ref: this.widgetParentContainerRef,\n      \"data-auto-load\": \"false\"\n    });\n  };\n\n  InlineWidget.prototype.destroyInlineWidget = function () {\n    this.widgetParentContainerRef.current.innerHTML = \"\";\n  };\n\n  InlineWidget.prototype.getChildNodeCount = function () {\n    return this.widgetParentContainerRef.current.childNodes.length;\n  };\n\n  InlineWidget.prototype.initWidget = function () {\n    window.Calendly.initInlineWidget({\n      url: withPageSettings(this.props.url, this.props.pageSettings),\n      parentElement: this.widgetParentContainerRef.current,\n      prefill: this.props.prefill,\n      utm: this.props.utm\n    });\n  };\n\n  InlineWidget.prototype.calendlyWidgetListener = function (event, callback) {\n    var isInsertedEvent = event === \"inserted\";\n    var isRemovedEvent = event === \"removed\";\n    return new MutationObserver(function (mutationsList, observer) {\n      observer.disconnect();\n\n      if (isInsertedEvent) {\n        var nodesAdded = mutationsList.some(function (record) {\n          return !!record.addedNodes.length;\n        });\n        if (nodesAdded) callback();\n      }\n\n      if (isRemovedEvent) {\n        var nodesRemoved = mutationsList.some(function (record) {\n          return !!record.removedNodes.length;\n        });\n        if (nodesRemoved) callback();\n      }\n    }).observe(this.widgetParentContainerRef.current, {\n      childList: true\n    });\n  };\n\n  InlineWidget.prototype.shouldWidgetUpdate = function (prevProps) {\n    var _this = this;\n\n    return prevProps.url !== this.props.url || [\"pageSettings\", \"prefill\", \"utm\"].some(function (prop) {\n      return JSON.stringify(prevProps[prop]) !== JSON.stringify(_this.props[prop]);\n    });\n  };\n\n  return InlineWidget;\n}(React.Component);\n\nvar initWidget = function (options) {\n  window.Calendly.initPopupWidget(options);\n};\n\nvar createClickHandler = function (widgetOptions) {\n  return function (e) {\n    e.preventDefault();\n    return initWidget(widgetOptions);\n  };\n};\n\nvar PopupButton =\n/** @class */\nfunction (_super) {\n  __extends(PopupButton, _super);\n\n  function PopupButton() {\n    return _super !== null && _super.apply(this, arguments) || this;\n  }\n\n  PopupButton.prototype.componentWillUnmount = function () {\n    window.Calendly.closePopupWidget();\n  };\n\n  PopupButton.prototype.componentDidMount = function () {\n    loadScript();\n  };\n\n  PopupButton.prototype.render = function () {\n    var widgetOptions = {\n      url: withPageSettings(this.props.url, this.props.pageSettings),\n      prefill: this.props.prefill,\n      utm: this.props.utm\n    };\n    return React.createElement(\"button\", {\n      onClick: createClickHandler(widgetOptions),\n      style: this.props.styles || {},\n      className: this.props.className || \"\"\n    }, this.props.text);\n  };\n\n  return PopupButton;\n}(React.Component);\n\nvar defaultProps = {\n  branding: false,\n  color: \"#00a2ff\",\n  textColor: \"#ffffff\",\n  text: \"Schedule time with me\"\n};\n\nvar PopupWidget =\n/** @class */\nfunction (_super) {\n  __extends(PopupWidget, _super);\n\n  function PopupWidget() {\n    return _super !== null && _super.apply(this, arguments) || this;\n  }\n\n  PopupWidget.prototype.componentDidUpdate = function () {\n    var options = __assign(__assign(__assign({}, defaultProps), this.props), {\n      url: withPageSettings(this.props.url, this.props.pageSettings)\n    });\n\n    window.Calendly.initBadgeWidget(options);\n  };\n\n  PopupWidget.prototype.componentDidMount = function () {\n    loadScript();\n\n    var options = __assign(__assign(__assign({}, defaultProps), this.props), {\n      url: withPageSettings(this.props.url, this.props.pageSettings)\n    });\n\n    window.Calendly.initBadgeWidget(options);\n  };\n\n  PopupWidget.prototype.componentWillUnmount = function () {\n    window.Calendly.destroyBadgeWidget();\n    window.Calendly.closePopupWidget();\n  };\n\n  PopupWidget.prototype.render = function () {\n    return React.createElement(React.Fragment, null);\n  };\n\n  return PopupWidget;\n}(React.Component);\n\nvar CalendlyEventListener =\n/** @class */\nfunction (_super) {\n  __extends(CalendlyEventListener, _super);\n\n  function CalendlyEventListener(props) {\n    var _this = _super.call(this, props) || this;\n\n    _this.handleEvent = _this.handleEvent.bind(_this);\n    return _this;\n  }\n\n  CalendlyEventListener.prototype.componentDidMount = function () {\n    window.addEventListener(\"message\", this.handleEvent);\n  };\n\n  CalendlyEventListener.prototype.componentWillUnmount = function () {\n    window.removeEventListener(\"message\", this.handleEvent);\n  };\n\n  CalendlyEventListener.prototype.handleEvent = function (e) {\n    var eventName = e.data.event;\n\n    if (eventName === CalendlyEvent.DATE_AND_TIME_SELECTED) {\n      this.props.onDateAndTimeSelected && this.props.onDateAndTimeSelected(e);\n    } else if (eventName === CalendlyEvent.EVENT_SCHEDULED) {\n      this.props.onEventScheduled && this.props.onEventScheduled(e);\n    } else if (eventName === CalendlyEvent.EVENT_TYPE_VIEWED) {\n      this.props.onEventTypeViewed && this.props.onEventTypeViewed(e);\n    } else if (eventName === CalendlyEvent.PROFILE_PAGE_VIEWED) {\n      this.props.onProfilePageViewed && this.props.onProfilePageViewed(e);\n    }\n  };\n\n  CalendlyEventListener.prototype.render = function () {\n    return this.props.children || null;\n  };\n\n  return CalendlyEventListener;\n}(React.Component);\n\nexports.InlineWidget = InlineWidget;\nexports.PopupButton = PopupButton;\nexports.PopupWidget = PopupWidget;\nexports.CalendlyEventListener = CalendlyEventListener;\nexports.openPopupWidget = openPopupWidget;\nexports.closePopupWidget = closePopupWidget; \nconst __esModule = exports.__esModule;\nconst _InlineWidget = exports.InlineWidget,\n      _PopupButton = exports.PopupButton,\n      _PopupWidget = exports.PopupWidget,\n      _CalendlyEventListener = exports.CalendlyEventListener,\n      _openPopupWidget = exports.openPopupWidget,\n      _closePopupWidget = exports.closePopupWidget;\n\nexport default exports;\nexport { _CalendlyEventListener as CalendlyEventListener, _InlineWidget as InlineWidget, _PopupButton as PopupButton, _PopupWidget as PopupWidget, __esModule, _closePopupWidget as closePopupWidget, _openPopupWidget as openPopupWidget };\n\n//# sourceMappingURL=npm:react-calendly@2.2.1!cjs.map","import \"/npm:react@17!cjs\";\nexport * from \"/npm:react-calendly@2.2.1!cjs\";\nexport { default } from \"/npm:react-calendly@2.2.1!cjs\";\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{InlineWidget}from\"https://jspm.dev/react-calendly@2.2.1\";import{containerStyles}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{emptyStateStyle,stateParagraphStyle,stateTitleStyle}from\"https://framer.com/m/framer/integrations-styles.js@0.2.0\";/**\n * CALENDLY\n *\n * @framerIntrinsicWidth 500\n * @framerIntrinsicHeight 600\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export default function Calendly({style,calendar,hideLandingPageDetails,hideGdprBanner,...props}){return(/*#__PURE__*/ _jsx(motion.div,{style:{...containerStyles,...style},...props,children:calendar?/*#__PURE__*/ _jsx(InlineWidget,{url:`https://calendly.com/${calendar}`,styles:{width:\"100%\",height:\"100%\"},pageSettings:{hideLandingPageDetails,hideGdprBanner}}):/*#__PURE__*/ _jsxs(\"div\",{style:{...emptyStateStyle,...style},...props,children:[/*#__PURE__*/ _jsx(\"h1\",{style:stateTitleStyle,children:\"Calendly\"}),/*#__PURE__*/ _jsx(\"p\",{style:stateParagraphStyle,children:\"Set a calendar name in the Properties.\"})]})}));};Calendly.defaultProps={hideLandingPageDetails:true,hideGdprBanner:true};addPropertyControls(Calendly,{calendar:{type:ControlType.String,defaultValue:\"acmesales\",description:\"Create a [Calendly](https://calendly.com/) account and copy your calendar name.\"},hideLandingPageDetails:{type:ControlType.Boolean,title:\"Details\",disabledTitle:\"Show\",enabledTitle:\"Hide\"},hideGdprBanner:{type:ControlType.Boolean,title:\"GDPR\",disabledTitle:\"Show\",enabledTitle:\"Hide\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Calendly\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"600\",\"framerIntrinsicWidth\":\"500\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Calendly.map"],"mappings":"guBAsCA,SAAS,EAAU,EAAG,EAAG,CACvB,EAAc,EAAG,GAEjB,SAAS,GAAK,CACZ,KAAK,YAAc,CACpB,CAED,EAAE,UAAY,IAAM,KAAO,OAAO,OAAO,IAAM,EAAG,UAAY,EAAE,UAAW,IAAI,EAChF,CAgBD,SAAS,EAAY,EAAK,EAAK,CACzB,IAAQ,IAAK,KAAG,EAAM,EAAE,EAC5B,IAAI,EAAW,EAAI,SAEf,MAACA,GAAO,OAAO,SAAa,KAIhC,KAAI,EAAO,SAAS,MAAQ,SAAS,qBAAqB,QAAQ,GAC9D,EAAQ,SAAS,cAAc,SACnC,EAAM,KAAO,WAET,IAAa,OACX,EAAK,WACP,EAAK,aAAa,EAAO,EAAK,YAE9B,EAAK,YAAY,GAMjB,EAAM,WACR,EAAM,WAAW,QAAUA,EAE3B,EAAM,YAAY,SAAS,eAAeA,GAjBsB,CAmBnE,mFAvFG,EAAS,YAAaC,EAAAA,EAA4BA,EAElD,QAAU,EAAE,CAChB,OAAO,eAAe,QAAS,aAAc,CAC3C,MAAO,GACR,EACG,EAAQ,EAkBR,EAAgB,SAAU,EAAG,EAAG,CASlC,MARA,GAAgB,OAAO,gBAAkB,CACvC,UAAW,EAAE,CACd,WAAY,OAAS,SAAU,EAAG,EAAG,CACpC,EAAE,UAAYC,CACf,GAAI,SAAU,EAAG,EAAG,CACnB,IAAK,IAAIC,KAAKD,EAAOA,EAAE,eAAeC,KAAI,EAAEA,GAAKD,EAAEC,GACpD,EAEM,EAAc,EAAG,EACzB,EAYG,EAAW,UAAY,CAWzB,MAVA,GAAW,OAAO,QAAU,SAAkB,EAAG,CAC/C,IAAK,I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