function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ownKeys(e,t){var n,a=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)),a}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperty(t,e,n){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){var n;if(t)return"string"==typeof t?_arrayLikeToArray(t,e):"Map"===(n="Object"===(n={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=Array(e);n<e;n++)a[n]=t[n];return a}function _iterableToArrayLimit(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,o,r,c,i=[],s=!0,d=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(i.push(a.value),i.length!==e);s=!0);}catch(t){d=!0,o=t}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(d)throw o}}return i}}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,_toPropertyKey(a.key),a)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){t=_toPrimitive(t,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);n=n.call(t,e||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(()=>{var e,r,o,c,v=JSON.parse('{"RL":"https://storage.googleapis.com/widget.kenect.com/","Nc":"https://storage.googleapis.com/widget.kenect.com/build/index.html.gz","EO":"resources/button.html.gz","E9":"resources/prompt.html.gz","sD":"resources/comment.svg.gz","jr":"resources/close.svg.gz","LA":"resources/close-white.svg.gz","to":"https://storage.googleapis.com/widget.kenect.com/instances","$b":"https://int-widget-events.kenect.com/api/v1","Xj":"SqkXDo90D#8iplyGTg0$"}'),i=function(t,e){var e=36e5*(e=e||24),n=new Date;return Math.abs(t.getTime()-n.getTime())>=e},s=function(t,e){var n=(n=t.getItem(e.key))?JSON.parse(n):{},a=n.updated_at;return!a||i(new Date(a),e.expiry)?(t.setItem(e.key,JSON.stringify({})),{}):n.visits},j={key:"autopluck",expiry:24};function d(t){return e||(t=t||window,e=window.localStorage),e}function l(t){var e=d(),n=s(e,r);n[t]||(n[t]=0),n[t]+=1,(t={}).visits=n,t.updated_at=(new Date).toISOString(),e.setItem(r.key,JSON.stringify(t))}function a(t,e){function n(t){l(e.location.toString()),setInterval(function(){e.location.toString()!==c&&(l(e.location.toString()),c=e.location.toString())},2e3)}function a(t){return e=d(),a=(a=s(e,r))||[],e=(e=t)||[],o=Object.keys(a),e.reduce(function(t,e){var n=0;return e=(e||"").toLowerCase(),o.forEach(function(t){t.toLowerCase().match(e.toLowerCase())&&(n+=a[t])}),t[e]=n,t},{});var a,o,e}return e=e||window,o=e.document,r=Object.assign({},j,t),"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?n():o.addEventListener("DOMContentLoaded",n),{matches:a,contains:function(t){return 0<a([t])[t]}}}function b(t,e){(n=document.querySelectorAll("#widget-style-".concat(e)))&&n.length&&n.forEach(function(t){return t.parentNode.removeChild(t)}),n=e,(e=document.createElement("style")).id="widget-style-".concat(n),e.type="text/css";var n=e;n.innerHTML=t,document.head.appendChild(n)}function _(t){t=t.token;return"\n.reset-".concat(t," {\n  all: unset;\n}\n.iframe-").concat(t," {\n  border: none;\n  width: 100%;\n  height: 100%;\n  z-index: 2147483000;\n  box-sizing: border-box;\n}\n.display-none-").concat(t," {\n  display: none !important;\n}\n.hide-prompt-").concat(t," {\n  height: 0 !important;\n  width: 0 !important;\n  overflow: hidden !important;\n}\n.shadow-").concat(t," {\n  box-shadow: 0px 6px 10px rgba(26, 26, 26, 0.14), 0px 1px 18px rgba(26, 26, 26, 0.12), 0px 4px 4px rgba(26, 26, 26, 0.2);\n}\n.visibility-hidden-").concat(t," {\n  visibility: hidden;\n}\n  ")}function E(t){t=t.token;return"\n@media only screen and (max-width: 400px) {\n  .iframe-".concat(t," {\n    height: 100%;\n    width: 100%;\n    border-radius: 0;\n    left: 0;\n    top: 0;\n  }\n  .widget-iframe-").concat(t," {\n    max-height: 100%;\n  }\n  #prompt-").concat(t," {\n    max-width: 90vw;\n  }\n}\n  ")}var n="Please consider enabling localStorage, caching and/or cookies on this browser for the best user experience.";function u(t){var e,n,a,o;if(t)return o=null==(a=(a=S(t="widget-session-".concat(t)))?JSON.parse(a):{})?void 0:a.id,e=(null==a?void 0:a.startTime)||0,a=(null==a?void 0:a.latestActivity)||0,n=(new Date).getTime(),o={id:(a=a&&864e5<n-a)||!o?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}):o,startTime:a||!e?n:e,latestActivity:n},I(t,JSON.stringify(o)),o;throw new Error("Widget token not declared for session")}function I(t,e){try{localStorage.setItem(t,e)}catch(t){console.warn(n)}}function S(t){try{return localStorage.getItem(t)}catch(t){console.warn(n)}}var p="EVENT_WIDGET_OPENED",h="EVENT_WIDGET_CLOSED",m="EVENT_SEND_MESSAGE",T="WIDGET_LOADED",x="TOGGLE_IFRAME",k="OPEN_IFRAME",O="CLOSE_IFRAME",D=function(){var t;"true"===(null==(t=S("KENECT_DEBUGGING"))?void 0:t.toLocaleLowerCase())&&(t=console).log.apply(t,arguments)};function L(t,e,n,a){var o=e.height,e=e.width,t=t.token,r=document.getElementById(n),n=document.getElementById("".concat(n,"-iframe"));a&&r.classList.remove("visibility-hidden-".concat(t)),n.setAttribute("style","height:".concat(o,"px; width:").concat(e,"px; min-height:").concat(o,"px; min-width:").concat(e,"px; "))}function A(t,e,n,a){var o=t.token,t=t.buttonMessage,r=document.getElementById(e),c=document.createElement("iframe");c.src=n,c.id="".concat(e,"-iframe"),c.className="iframe-".concat(o),"function"==typeof a?((n=document.createElement("button")).id="widget-button-".concat(o),n.className="reset-".concat(o),n.onclick=a,n.tabIndex=0,n.title=t||"Text Us",c.tabIndex=-1,c.ariaLabel="Contact Support Widget",n.appendChild(c),r.appendChild(n)):(c.ariaLabel="Widget prompt message",r.appendChild(c))}function C(t,e,n){document.getElementById(n?e:"".concat(e,"-iframe")).contentWindow.postMessage({type:"WIDGET_DATA",widgetInfo:t,URLS:{icon:"".concat(v.RL).concat(v.sD),close:"".concat(v.RL).concat(v.jr),close_white:"".concat(v.RL).concat(v.LA)}},"*")}function P(t,e,n){var a,o,r,c,i=t.token,s=t.urlTrackingWords,t=t.buttonMessage,d=document.getElementById("iframe-wrapper-".concat(i)),l=document.getElementById("widget-button-".concat(i));d&&(c=d.classList.contains("display-none-".concat(i)),r=document.getElementById("prompt-".concat(i)),(a=document.getElementById("kenect-aria-live"))||((a=document.createElement("div")).id="kenect-aria-live",a.setAttribute("aria-live","assertive"),a.setAttribute("role","status"),a.style.position="absolute",a.style.left="-9999px",a.tabIndex=-1,document.body.appendChild(a)),null!=r&&r.classList.add("hide-prompt-".concat(i)),o=document.getElementById("iframe-".concat(i)),c?(d.classList.remove("display-none-".concat(i)),window.postMessage({type:p},"*"),a.textContent="Support window opened.",l&&(l.title="Close support window",l.ariaLabel="Close support window"),o&&setTimeout(function(){o.focus()},2e3)):(d.classList.add("display-none-".concat(i)),window.postMessage({type:h},"*"),a.textContent="Support window closed.",l&&(l.title=t||"Text Us",l.ariaLabel="Open support window")),o&&(r={type:"PAGE_DATA",href:window.location.href,width:window.innerWidth,height:window.innerHeight,stats:e.matches(s),dealerId:n},D("PAGE_DATA",r),o.contentWindow.postMessage(r,"*")),null!=(c=document.getElementById("button-".concat(i,"-iframe"))))&&c.contentWindow.postMessage({type:"TOGGLE_WIDGET"},"*")}function f(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:60;try{e()}catch(t){var a=0,o=setInterval(function(){if(a<n)try{e(),clearInterval(o)}catch(t){a++}else clearInterval(o)},1e3)}}var R,N,W=_createClass(function t(e){_classCallCheck(this,t),this.widgetInfo=e||{},this.chatId="".concat(window.crypto.randomUUID(),":").concat((new Date).toISOString())},[{key:"handleEvent",value:function(t){var e,n,a,o=this,t=null==t||null==(t=t.data)?void 0:t.type,r=null==(r=this.widgetInfo)?void 0:r.token;t===p&&(e=document.getElementById("iframe-".concat(r)),n=u(r),window.sd&&sd("getSessionId",function(t){a=t}),window.sdb&&sdb("getSessionId",function(t){a=t}),window.digitalData&&(window.digitalData.chatId=this.chatId,window.digitalData.newEvent({type:"CustomTagEvent",eventName:"sms",eventAction:"chat",attributes:{provider:"Kenect"}})),setTimeout(function(){var t={sdSessionId:a,chatId:o.chatId,chatSessionId:null==(t=window._satellite)?void 0:t.getVar("chatSessionId"),chatLeadId:n.startTime,formTransactionId:null==(t=window._satellite)?void 0:t.getVar("formTransactionId")};D("WIDGET_INFO_EXTRA_DATA",t),e.contentWindow.postMessage({type:"WIDGET_INFO_EXTRA_DATA",extraData:t},"*")},150))}}]),y="Kenect",g="text",G=_createClass(function t(e,n){_classCallCheck(this,t),this.collectorInfo=n,this.widgetInfo=e},[{key:"handleSD",value:function(){for(var t,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];D.apply(void 0,["PROCESSED_EVENT",this.collectorInfo.type].concat(n)),this.collectorInfo.type===w?window.sd&&(t=window).sd.apply(t,n):this.collectorInfo.type===M&&window.sdb&&(t=window).sdb.apply(t,n)}},{key:"handleEvent",value:function(a){var t,o=this,e=null==a||null==(e=a.data)?void 0:e.type,r=null==(t=this.widgetInfo)?void 0:t.token;switch(e){case m:f(function(){var t=null==(t=a.data.data)?void 0:t.message,e=u(r);o.handleSD("dataLayer",{chatType:g,chatProvider:y,chatSessionId:e.id,chatLeadId:e.startTime,events:"chatUserMessage",chatMessageType:"user",chatMessageContent:t}),o.handleSD("send"),o.handleSD("dataLayer",{chatType:g,chatProvider:y,chatSessionId:e.id,chatLeadId:e.startTime,events:"chatLead"}),o.handleSD("send")});break;case"EVENT_SEND_MESSAGE_CONFIRMATION":f(function(){var t=_slicedToArray(null==(t=a.data.data)?void 0:t.confirmationMessages,2),e=t[0],t=t[1],n=u(r);o.handleSD("dataLayer",{chatType:g,chatProvider:y,chatSessionId:n.id,events:"chatUserMessage",chatMessageType:"agent",chatMessageContent:null==e?void 0:e.text,chatLeadId:n.startTime}),o.handleSD("send"),o.handleSD("dataLayer",{chatType:g,chatProvider:y,chatSessionId:n.id,chatLeadId:n.startTime,events:"chatUserMessage",chatMessageType:"agent",chatMessageContent:null==t?void 0:t.text}),o.handleSD("send")});break;case p:f(function(){var t=u(r);o.handleSD("dataLayer",{chatType:g,chatSessionId:t.id,chatProvider:y,events:"chatClick"}),o.handleSD("send")});break;case h:f(function(){var t=u(r);o.handleSD("dataLayer",{chatType:g,chatSessionId:t.id,chatProvider:y,events:"chatClosed"}),o.handleSD("send")});break;case T:f(function(){var t=u(r);o.handleSD("dataLayer",{chatType:g,chatSessionId:t.id,chatProvider:y,events:"chatImpression"}),o.handleSD("send")})}}}]),B=_createClass(function t(e){_classCallCheck(this,t),this.widgetInfo=e||{}},[{key:"handleEvent",value:function(t){var e,n=this,t=null==t||null==(t=t.data)?void 0:t.type,a=u(null==(e=this.widgetInfo)?void 0:e.token);switch(t){case m:f(function(){n.sendEvent(a,["chat_user_message","chat_agent_message","chat_lead"])},3);break;case p:f(function(){return n.sendEvent(a,["chat_click"])},3);break;case h:f(function(){return n.sendEvent(a,["chat_closed"])},3);break;case T:f(function(){return n.sendEvent(a,["chat_impression"])},3)}}},{key:"sendEvent",value:function(t,e){var e=e.map(function(t){return{eventType:t}}),n=this.getDeviceType(),t={sessionId:t.id,chatLeadId:t.startTime,widgetId:this.widgetInfo.token,organizationId:this.widgetInfo.organizationId,locationId:null==(t=this.widgetInfo)?void 0:t.defaultLocationId,brandId:null==(t=this.widgetInfo)?void 0:t.brandId,brandName:null==(t=this.widgetInfo)?void 0:t.brandName,deviceType:n,events:e};this.httpRequest(t)}},{key:"httpRequest",value:function(t){var e=new XMLHttpRequest,n="".concat(v.$b,"/widget-events"),t=JSON.stringify(t);e.open("POST",n,!0),e.setRequestHeader("Content-type","application/json"),e.setRequestHeader("Authorization",v.Xj),e.send(t)}},{key:"getDeviceType",value:function(){return/Mobi/.test(navigator.userAgent)?"Mobile":"Desktop"}}]),w="SHIFT_DIGITAL",M="SHIFT_DIGITAL_BMW",H=_createClass(function t(e){_classCallCheck(this,t);var n=(null==e?void 0:e.collectors)||[],a=[].concat(_toConsumableArray(null==v.Xj||"SqkXDo90D#8iplyGTg0$"===v.Xj?[]:[new B(e)]),_toConsumableArray(e?[new W(e)]:[]));n.forEach(function(t){switch(t.type){case M:case w:a.push(new G(e,t))}}),D("Collectors",a),this.collectors=a},[{key:"handleEvent",value:function(e){this.collectors.forEach(function(t){t.handleEvent(e)})}}]);function t(){var e,t,n,a,o;e=U,{"type":"WEB","organizationId":9089,"token":"yUFyzZGQdx7vBrnQHnljM4","name":"Oklahoma State Department of Education","showOnMobile":true,"archived":false,"parameterFileUrl":"https://storage.googleapis.com/widget.kenect.com/instances/yUFyzZGQdx7vBrnQHnljM4.json","fullUrl":"https://resource.kenect.com/api/v1/widget/client-data/yUFyzZGQdx7vBrnQHnljM4","tinyUrl":"https://bit.ly/3SmcbZ6","thankYou":"Thank you!","color_1":"#DA272A","color_2":"#DA272A","fontColor":"#FFFFFF","showPrompt":true,"overwriteTeamAssignment":true,"tcpaLanguage":"By hitting \"Send\" you authorize Oklahoma State Department of Education - TRRS to send text messages and marketing content to the mobile number provided, sometimes using automated technology. Consent is not a condition of purchase. Message & data rates apply. Message frequency may vary. Text HELP for support or more information. Text STOP to opt out at any time.","afterZipDisplayAmount":10,"displayCorner":"BOTTOM_RIGHT","requestId":"UPDATING_WIDGET_yUFyzZGQdx7vBrnQHnljM4_REQUEST","companyName":"Oklahoma State Department of Education - TRRS","buttonMessage":"Text us!","defaultLocationId":18676,"departments":[{"id":1,"name":"Teacher Retention","assignedTeamId":51521,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":2,"name":"Teacher Recruitment","assignedTeamId":52025,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":3,"name":"Teacher Recognition","assignedTeamId":52026,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":4,"name":"Teacher Certification","assignedTeamId":52027,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":5,"name":"Teacher Leadership and Effectivness","assignedTeamId":52029,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":6,"name":"School Choice","assignedTeamId":56393,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"}],"prompt":"Hi there, have a question? Send us a text!","requireLastName":true}===R?(t=(n=document.getElementById("kenect-token")).getAttribute("token"),n=n.getAttribute("previewinfo"),a="".concat(v.to,"/").concat(t,".json"),"WIDGET_PREVIEW"===t?(R=_objectSpread(_objectSpread({},JSON.parse(decodeURIComponent(n))),{},{token:"WIDGET_PREVIEW",previewInfo:n}),e()):((o=new XMLHttpRequest).open("GET",a,!0),o.setRequestHeader("Content-Type","text/javascript"),o.onreadystatechange=function(){var t;this.readyState!==XMLHttpRequest.DONE||200!==this.status&&204!==this.status||(t=JSON.parse(o.responseText),R=t,e())},o.send(null))):e()}function U(){var t,e,n,a,o,r,c,i,s,d,l,u,p,h,m,f,y=(w=R).token,g=w.showOnMobile,w="OEM"===w.type;document.getElementById("widget-".concat(y))||window.innerWidth<600&&!g||(g=!w,n=new URL(window.location).searchParams.get("widget")===y,g&&(g=document.createElement("div"),m=document.createElement("div"),f=document.createElement("div"),g.id="widget-".concat(y),g.className="reset-".concat(y," widget-container-").concat(y),m.id="button-".concat(y),m.className="reset-".concat(y," visibility-hidden-").concat(y),f.id="prompt-".concat(y),f.className="reset-".concat(y," hide-prompt-").concat(y),g.appendChild(f),g.appendChild(m),document.body.appendChild(g),f="".concat(v.RL).concat(v.EO),A(R,"button-".concat(y),f,function(){return P(R,N)}),n||(m="".concat(v.RL).concat(v.E9),A(R,"prompt-".concat(y),m),e=(g=R).token,g.showPrompt?g.prompt&&(t=document.getElementById("prompt-".concat(e)),g=S("widget-closed-".concat(e)),f=(new Date).getTime(),(null!==g?f-g:1800001)<18e5?t.classList.add("hide-prompt-".concat(e)):setTimeout(function(){t.classList.remove("hide-prompt-".concat(e))},5e3)):document.getElementById("prompt-".concat(e)).classList.add("hide-prompt-".concat(e)))),h=N,y=(p=R).token,m=p.previewInfo,f=document.createElement("iframe"),g=document.createElement("div"),m="token=".concat(encodeURIComponent(y)).concat(m?"&previewInfo="+m:""),f.src="".concat(v.Nc,"?").concat(m),f.className="iframe-".concat(y," widget-iframe-").concat(y," shadow-").concat(y),f.id="iframe-".concat(y),f.title="Contact Support Widget",f.tabIndex=0,g.id="iframe-wrapper-".concat(y),g.className="reset-".concat(y," display-none-").concat(y," backdrop-").concat(y),g.onclick=function(){return P(p,h)},g.append(f),document.body.append(g),l=N,u=(d=R).token,document.addEventListener("click",function(t){var e;(null==(e=t.target)||null==(e=e.dataset)?void 0:e.widgetToggle)===u&&(t=null==(e=t.target)||null==(e=e.dataset)?void 0:e.dealerId,P(d,l,t))}),r=N,c=n,i=(o=R).token,window.removeEventListener("message",window["MessageHandler_".concat(i)]),window.toggleKenectWidget=function(){return P(o,r)},s=new H(o),window["MessageHandler_".concat(i)]=function(t){switch(s.handleEvent(t),t.data.type){case x:case k:case O:case"".concat(x,"_").concat(i):case"".concat(k,"_").concat(i):case"".concat(O,"_").concat(i):P(o,r,t.data.dealerId);break;case"EVENT_PROMPT_CLOSED":e=o.token,document.getElementById("prompt-".concat(e)).classList.add("hide-prompt-".concat(e)),I("widget-closed-".concat(e),(new Date).getTime().toString());break;case"PROMPT_PAGE_LOADED":C(o,"prompt-".concat(i));break;case"BUTTON_PAGE_LOADED":C(o,"button-".concat(i));break;case T:C(o,"iframe-".concat(i),!0);break;case"RESIZE_PROMPT":L(o,_objectSpread(_objectSpread({},t.data),{},{width:t.data.width,height:t.data.height}),"prompt-".concat(i));break;case"RESIZE_BUTTON":L(o,t.data,"button-".concat(i),!0),c&&P(o,r)}var e},window.addEventListener("message",window["MessageHandler_".concat(i)]),w?(g=(y=R).token,b("\n".concat(_(y),"\n.backdrop-").concat(g," {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 2147483000;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.widget-iframe-").concat(g," {\n  border-radius: 10px;\n  height: 640px;\n  width: 320px;\n  background: #f7f7f7;\n  max-height: calc(100% - 100px);\n}\n").concat(E(y),"\n  "),g)):(w=(n=R).token,b("\n".concat(_(n),"\n\nbutton.reset-").concat(w," {\n  background: none;\n}\n\nbutton.reset-").concat(w,":hover {\n  background: none;\n}\n\n.widget-iframe-").concat(w," {\n  position: fixed;\n  bottom: 85px;\n  right: 20px;\n  border-radius: 10px;\n  height: 640px;\n  width: 320px;\n  background: #f7f7f7;\n  max-height: calc(100% - 100px);\n}\n\n#prompt-").concat(w," {\n  margin: 0 4px;\n}\n#prompt-").concat(w,"-iframe {\n  background: transparent;\n  box-shadow: none;\n  margin-bottom: -16px !important;\n}\n\n.widget-container-").concat(w," {\n  transform: translateY(0);\n  transition: all .1s;\n  display: flex;\n}\n#widget-").concat(w," {\n  position: fixed;\n  display: flex;\n  z-index: 2147483000;\n}\n.btn-text-").concat(w," {\n  color: white;\n}\n").concat((y=n.token,g=n.displayCorner,a=n.customCSS,g=g?g.split("_"):["BOTTOM","RIGHT"],a=a||"",(a+="TOP"===g[0]?"\n      #widget-".concat(y," {\n        top: 0;\n      }\n      .widget-container-").concat(y," {\n        flex-direction: column-reverse;\n      }\n      .iframe-").concat(y," {\n        top: 85px;\n      }\n    "):"\n      #widget-".concat(y," {\n        bottom: 0;\n      }\n      .widget-container-").concat(y," {\n        flex-direction: column;\n      }\n      .iframe-").concat(y," {\n        bottom: 85px;\n      }\n    "))+("RIGHT"===g[1]?"\n      #widget-".concat(y," {\n        right: 0;\n      }\n      #button-").concat(y," {\n        align-self: flex-end;\n      }\n      .iframe-").concat(y," {\n        right: 16px;\n      }\n    "):"\n      #widget-".concat(y," {\n        left: 0;\n      }\n      #button-").concat(y," {\n        align-self: flex-start;\n      }\n      .iframe-").concat(y," {\n        left: 16px;\n      }\n    "))),"\n").concat(E(n),"\n"),w)),D("WIDGET_INITIALIZED"))}R={"type":"WEB","organizationId":9089,"token":"yUFyzZGQdx7vBrnQHnljM4","name":"Oklahoma State Department of Education","showOnMobile":true,"archived":false,"parameterFileUrl":"https://storage.googleapis.com/widget.kenect.com/instances/yUFyzZGQdx7vBrnQHnljM4.json","fullUrl":"https://resource.kenect.com/api/v1/widget/client-data/yUFyzZGQdx7vBrnQHnljM4","tinyUrl":"https://bit.ly/3SmcbZ6","thankYou":"Thank you!","color_1":"#DA272A","color_2":"#DA272A","fontColor":"#FFFFFF","showPrompt":true,"overwriteTeamAssignment":true,"tcpaLanguage":"By hitting \"Send\" you authorize Oklahoma State Department of Education - TRRS to send text messages and marketing content to the mobile number provided, sometimes using automated technology. Consent is not a condition of purchase. Message & data rates apply. Message frequency may vary. Text HELP for support or more information. Text STOP to opt out at any time.","afterZipDisplayAmount":10,"displayCorner":"BOTTOM_RIGHT","requestId":"UPDATING_WIDGET_yUFyzZGQdx7vBrnQHnljM4_REQUEST","companyName":"Oklahoma State Department of Education - TRRS","buttonMessage":"Text us!","defaultLocationId":18676,"departments":[{"id":1,"name":"Teacher Retention","assignedTeamId":51521,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":2,"name":"Teacher Recruitment","assignedTeamId":52025,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":3,"name":"Teacher Recognition","assignedTeamId":52026,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":4,"name":"Teacher Certification","assignedTeamId":52027,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":5,"name":"Teacher Leadership and Effectivness","assignedTeamId":52029,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"},{"id":6,"name":"School Choice","assignedTeamId":56393,"locationId":18676,"locationName":"Oklahoma State Department of Education - TRRS","leadType":"SALES","legalName":"Oklahoma State Department of Education - TRRS"}],"prompt":"Hi there, have a question? Send us a text!","requireLastName":true},N=a({key:"autopluck",expiry:24},window),"complete"===document.readyState?t():window.addEventListener("load",t)})();