Plugin Directory

Changeset 1600716


Ignore:
Timestamp:
02/21/2017 04:00:09 PM (9 years ago)
Author:
jepser
Message:

added missing parameter in contact form

Location:
typeform
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • typeform/trunk/assets/js/typeform-tinymce.js

    r1600564 r1600716  
    33accumulateTwoPhaseDispatchesSkipTarget:Ve,accumulateDirectDispatches:We,accumulateEnterLeaveDispatches:He},Tu=ku,Pu=!("undefined"==typeof window||!window.document||!window.document.createElement),Nu={canUseDOM:Pu,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:Pu&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:Pu&&!!window.screen,isInWorker:!Pu},Su=Nu,Ou=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Iu=Ke()?Object.assign:function(e,t){for(var n,r,o=qe(e),a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var i in n)Mu.call(n,i)&&(o[i]=n[i]);if(Ou){r=Ou(n);for(var l=0;l<r.length;l++)xu.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Au=Tl,Du=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},Ru=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},Lu=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},Uu=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},Fu=function(e){var t=this;e instanceof t?void 0:Au("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},ju=10,Bu=Du,Vu=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||Bu,n.poolSize||(n.poolSize=ju),n.release=Fu,n},Hu={addPoolingTo:Vu,oneArgumentPooler:Du,twoArgumentPooler:Ru,threeArgumentPooler:Lu,fourArgumentPooler:Uu},Wu=Hu,qu=Su,Ku=null,zu=ze,Yu=Iu,Xu=Wu,Gu=zu;Yu(Ye.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[Gu()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var l=t>1?1-t:void 0;return this._fallbackText=o.slice(e,l),this._fallbackText}}),Xu.addPoolingTo(Ye);var Qu=Ye,$u=Iu,Zu=Wu,Ju=ha,es=["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"],ts={type:null,target:null,currentTarget:Ju.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};$u(Xe.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Ju.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Ju.thatReturnsTrue)},persist:function(){this.isPersistent=Ju.thatReturnsTrue},isPersistent:Ju.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<es.length;n++)this[es[n]]=null}}),Xe.Interface=ts,Xe.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var o=new r;$u(o,e.prototype),e.prototype=o,e.prototype.constructor=e,e.Interface=$u({},n.Interface,t),e.augmentClass=n.augmentClass,Zu.addPoolingTo(e,Zu.fourArgumentPooler)},Zu.addPoolingTo(Xe,Zu.fourArgumentPooler);var ns=Xe,rs=ns,os={data:null};rs.augmentClass(Ge,os);var as=Ge,is=ns,ls={data:null};is.augmentClass(Qe,ls);var us=Qe,ss=Tu,cs=Su,ps=Qu,ds=as,fs=us,hs=[9,13,27,32],ms=229,vs=cs.canUseDOM&&"CompositionEvent"in window,gs=null;cs.canUseDOM&&"documentMode"in document&&(gs=document.documentMode);var ys=cs.canUseDOM&&"TextEvent"in window&&!gs&&!$e(),bs=cs.canUseDOM&&(!vs||gs&&gs>8&&gs<=11),_s=32,Cs=String.fromCharCode(_s),Es={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},ws=!1,ks=null,Ts={eventTypes:Es,extractEvents:function(e,t,n,r){return[rt(e,t,n,r),it(e,t,n,r)]}},Ps=Ts,Ns=Tl,Ss=Wu,Os=function(){function e(t){lt(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?Ns("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}(),Ms=Ss.addPoolingTo(Os),xs={logTopLevelRenders:!1},Is=xs,As=Tl,Ds={addComponentAsRefTo:function(e,t,n){ut(n)?void 0:As("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){ut(n)?void 0:As("120");var r=n.getPublicInstance();r&&r.refs[t]===e.getPublicInstance()&&n.detachRef(t)}},Rs=Ds,Ls=Rs,Us={};Us.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&st(n,e,t._owner)}},Us.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,a=null;return null!==t&&"object"==typeof t&&(o=t.ref,a=t._owner),n!==o||"string"==typeof o&&a!==r},Us.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&ct(n,e,t._owner)}};var Fs,js,Bs,Vs=Us,Hs={onBeginProcessingChildContext:function(){Fs=!0},onEndProcessingChildContext:function(){Fs=!1},onSetState:function(){js()}},Ws=Hs,qs=[],Ks={onHostOperation:function(e){qs.push(e)},clearHistory:function(){Ks._preventClearing||(qs=[])},getHistory:function(){return qs}},zs=Ks,Ys=Su;Ys.canUseDOM&&(Bs=window.performance||window.msPerformance||window.webkitPerformance);var Xs,Gs=Bs||{},Qs=Gs;Xs=Qs.now?function(){return Qs.now()}:function(){return Date.now()};var $s=Xs,Zs=Ws,Js=zs,ec=Fi,tc=Su,nc=$s,rc=[],oc={},ac=!1,ic=[],lc=[],uc=0,sc=[],cc=0,pc=null,dc=0,fc=0,hc=null,mc=!1,vc=0,gc="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,yc={addHook:function(e){rc.push(e)},removeHook:function(e){for(var t=0;t<rc.length;t++)rc[t]===e&&(rc.splice(t,1),t--)},isProfiling:function(){return ac},beginProfiling:function(){ac||(ac=!0,ic.length=0,mt(),yc.addHook(Js))},endProfiling:function(){ac&&(ac=!1,mt(),yc.removeHook(Js))},getFlushHistory:function(){return ic},onBeginFlush:function(){uc++,mt(),bt(),dt("onBeginFlush")},onEndFlush:function(){mt(),uc--,_t(),dt("onEndFlush")},onBeginLifeCycleTimer:function(e,t){vt(e),dt("onBeginLifeCycleTimer",e,t),Et(e,t),gt(e,t)},onEndLifeCycleTimer:function(e,t){vt(e),yt(e,t),wt(e,t),dt("onEndLifeCycleTimer",e,t)},onBeginProcessingChildContext:function(){dt("onBeginProcessingChildContext")},onEndProcessingChildContext:function(){dt("onEndProcessingChildContext")},onHostOperation:function(e){vt(e.instanceID),dt("onHostOperation",e)},onSetState:function(){dt("onSetState")},onSetChildren:function(e,t){vt(e),t.forEach(vt),dt("onSetChildren",e,t)},onBeforeMountComponent:function(e,t,n){vt(e),vt(n,!0),dt("onBeforeMountComponent",e,t,n),Et(e,"mount")},onMountComponent:function(e){vt(e),wt(e,"mount"),dt("onMountComponent",e)},onBeforeUpdateComponent:function(e,t){vt(e),dt("onBeforeUpdateComponent",e,t),Et(e,"update")},onUpdateComponent:function(e){vt(e),wt(e,"update"),dt("onUpdateComponent",e)},onBeforeUnmountComponent:function(e){vt(e),dt("onBeforeUnmountComponent",e),Et(e,"unmount")},onUnmountComponent:function(e){vt(e),wt(e,"unmount"),dt("onUnmountComponent",e)},onTestEvent:function(){dt("onTestEvent")}};yc.addDevtool=yc.addHook,yc.removeDevtool=yc.removeHook,yc.addHook(Zs),yc.addHook(ec);var bc=tc.canUseDOM&&window.location.href||"";/[?&]react_perf\b/.test(bc)&&yc.beginProfiling();var _c=Vs,Cc={mountComponent:function(e,t,n,r,o,a){var i=e.mountComponent(t,n,r,o,a);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(kt,e),i},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){_c.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,r){var o=e._currentElement;if(t!==o||r!==e._context){var a=_c.shouldUpdateRefs(o,t);a&&_c.detachRefs(e,o),e.receiveComponent(t,n,r),a&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(kt,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}},Ec=Cc,wc=Tl,kc={},Tc={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,r,o,a,i,l){this.isInTransaction()?wc("27"):void 0;var u,s;try{this._isInTransaction=!0,u=!0,this.initializeAll(0),s=e.call(t,n,r,o,a,i,l),u=!1}finally{try{if(u)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return s},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=kc,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===kc)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:wc("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r,o=t[n],a=this.wrapperInitData[n];try{r=!0,a!==kc&&o.close&&o.close.call(this,a),r=!1}finally{if(r)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}},Pc=Tc,Nc=Tl,Sc=Iu,Oc=Ms,Mc=Wu,xc=Is,Ic=Ec,Ac=Pc,Dc=[],Rc=0,Lc=Oc.getPooled(),Uc=!1,Fc=null,jc={initialize:function(){this.dirtyComponentsLength=Dc.length},close:function(){this.dirtyComponentsLength!==Dc.length?(Dc.splice(0,this.dirtyComponentsLength),Wc()):Dc.length=0}},Bc={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},Vc=[jc,Bc];Sc(Pt.prototype,Ac,{getTransactionWrappers:function(){return Vc},destructor:function(){this.dirtyComponentsLength=null,Oc.release(this.callbackQueue),this.callbackQueue=null,Kc.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return Ac.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),Mc.addPoolingTo(Pt);var Hc,Wc=function(){for(;Dc.length||Uc;){if(Dc.length){var e=Pt.getPooled();e.perform(Ot,null,e),Pt.release(e)}if(Uc){Uc=!1;var t=Lc;Lc=Oc.getPooled(),t.notifyAll(),Oc.release(t)}}},qc={injectReconcileTransaction:function(e){e?void 0:Nc("126"),Kc.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:Nc("127"),"function"!=typeof e.batchedUpdates?Nc("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?Nc("129"):void 0,Fc=e}},Kc={ReactReconcileTransaction:null,batchedUpdates:Nt,enqueueUpdate:Mt,flushBatchedUpdates:Wc,injection:qc,asap:xt},zc=Kc,Yc=It,Xc=Su;Xc.canUseDOM&&(Hc=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);var Gc=At,Qc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},$c=Dt,Zc=yu,Jc=Tu,ep=Su,tp=Bl,np=zc,rp=ns,op=Yc,ap=Gc,ip=$c,lp={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},up=null,sp=null,cp=null,pp=null,dp=!1;ep.canUseDOM&&(dp=ap("change")&&(!document.documentMode||document.documentMode>8));var fp=!1;ep.canUseDOM&&(fp=ap("input")&&(!document.documentMode||document.documentMode>11));var hp={get:function(){return pp.get.call(this)},set:function(e){cp=""+e,pp.set.call(this,e)}},mp={eventTypes:lp,extractEvents:function(e,t,n,r){var o,a,i=t?tp.getNodeFromInstance(t):window;if(Rt(i)?dp?o=Bt:a=Vt:ip(i)?fp?o=Kt:(o=Yt,a=zt):Xt(i)&&(o=Gt),o){var l=o(e,t);if(l){var u=rp.getPooled(lp.change,l,n,r);return u.type="change",Jc.accumulateTwoPhaseDispatches(u),u}}a&&a(e,i,t)}},vp=mp,gp=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"],yp=gp,bp=ns,_p=Yc,Cp={view:function(e){if(e.view)return e.view;var t=_p(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};bp.augmentClass(Qt,Cp);var Ep=Qt,kp={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){kp.currentScrollLeft=e.x,kp.currentScrollTop=e.y}},Tp=kp,Pp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Np=Zt,Sp=Ep,Op=Tp,Mp=Np,xp={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Mp,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+Op.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+Op.currentScrollTop}};Sp.augmentClass(Jt,xp);var Ip,Ap=Jt,Dp=Tu,Rp=Bl,Lp=Ap,Up={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},Fp={eventTypes:Up,extractEvents:function(e,t,n,r){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var o;if(r.window===r)o=r;else{var a=r.ownerDocument;o=a?a.defaultView||a.parentWindow:window}var i,l;if("topMouseOut"===e){i=t;var u=n.relatedTarget||n.toElement;l=u?Rp.getClosestInstanceFromNode(u):null}else i=null,l=t;if(i===l)return null;var s=null==i?o:Rp.getNodeFromInstance(i),c=null==l?o:Rp.getNodeFromInstance(l),p=Lp.getPooled(Up.mouseLeave,i,n,r);p.type="mouseleave",p.target=s,p.relatedTarget=c;var d=Lp.getPooled(Up.mouseEnter,l,n,r);return d.type="mouseenter",d.target=c,d.relatedTarget=s,Dp.accumulateEnterLeaveDispatches(p,d,i,l),[p,d]}},jp=Fp,Bp=Ml,Vp=Bp.injection.MUST_USE_PROPERTY,Hp=Bp.injection.HAS_BOOLEAN_VALUE,Wp=Bp.injection.HAS_NUMERIC_VALUE,qp=Bp.injection.HAS_POSITIVE_NUMERIC_VALUE,Kp=Bp.injection.HAS_OVERLOADED_BOOLEAN_VALUE,zp={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Bp.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:Hp,allowTransparency:0,alt:0,as:0,async:Hp,autoComplete:0,autoPlay:Hp,capture:Hp,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:Vp|Hp,cite:0,classID:0,className:0,cols:qp,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:Hp,coords:0,crossOrigin:0,data:0,dateTime:0,default:Hp,defer:Hp,dir:0,disabled:Hp,download:Kp,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:Hp,formTarget:0,frameBorder:0,headers:0,height:0,hidden:Hp,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:Hp,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:Vp|Hp,muted:Vp|Hp,name:0,nonce:0,noValidate:Hp,open:Hp,optimum:0,pattern:0,placeholder:0,playsInline:Hp,poster:0,preload:0,profile:0,radioGroup:0,readOnly:Hp,referrerPolicy:0,rel:0,required:Hp,reversed:Hp,role:0,rows:qp,rowSpan:Wp,sandbox:0,scope:0,scoped:Hp,scrolling:0,seamless:Hp,selected:Vp|Hp,shape:0,size:qp,sizes:0,span:qp,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:Wp,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:Hp,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}},Yp=zp,Xp={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},Gp=Xp,Qp=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e},$p=Qp,Zp=Su,Jp=Gp,ed=/^[ \r\n\t\f]/,td=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,nd=$p,rd=nd(function(e,t){if(e.namespaceURI!==Jp.svg||"innerHTML"in e)e.innerHTML=t;else{Ip=Ip||document.createElement("div"),Ip.innerHTML="<svg>"+t+"</svg>";for(var n=Ip.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(Zp.canUseDOM){var od=document.createElement("div");od.innerHTML=" ",""===od.innerHTML&&(rd=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),ed.test(t)||"<"===t[0]&&td.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),od=null}var ad=rd,id=/["'&<>]/,ld=tn,ud=Su,sd=ld,cd=ad,pd=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};ud.canUseDOM&&("textContent"in document.documentElement||(pd=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void cd(e,sd(t))}));var dd=pd,fd=Gp,hd=ad,md=$p,vd=dd,gd=1,yd=11,bd="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),_d=md(function(e,t,n){t.node.nodeType===yd||t.node.nodeType===gd&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===fd.html)?(nn(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),nn(t))});sn.insertTreeBefore=_d,sn.replaceChildWithTree=rn,sn.queueChild=on,sn.queueHTML=an,sn.queueText=ln;var Cd=sn,Ed=Jo,wd=dn,kd=Su,Td=Jo,Pd=kd.canUseDOM?document.createElement("div"):null,Nd={},Sd=[1,'<select multiple="true">',"</select>"],Od=[1,"<table>","</table>"],Md=[3,"<table><tbody><tr>","</tr></tbody></table>"],xd=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],Id={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:Sd,option:Sd,caption:Od,colgroup:Od,tbody:Od,tfoot:Od,thead:Od,td:Md,th:Md},Ad=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];Ad.forEach(function(e){Id[e]=xd,Nd[e]=!0});var Dd=fn,Rd=Su,Ld=wd,Ud=Dd,Fd=Jo,jd=Rd.canUseDOM?document.createElement("div"):null,Bd=/^\s*<(\w+)/,Vd=mn,Hd=Tl,Wd=Cd,qd=Su,Kd=Vd,zd=ha,Yd={dangerouslyReplaceNodeWithMarkup:function(e,t){if(qd.canUseDOM?void 0:Hd("56"),t?void 0:Hd("57"),"HTML"===e.nodeName?Hd("58"):void 0,"string"==typeof t){var n=Kd(t,zd)[0];e.parentNode.replaceChild(n,e)}else Wd.replaceChildWithTree(e,t)}},Xd=Yd,Gd=Cd,Qd=Xd,$d=$p,Zd=ad,Jd=dd,ef=$d(function(e,t,n){e.insertBefore(t,n)}),tf=Qd.dangerouslyReplaceNodeWithMarkup,nf={dangerouslyReplaceNodeWithMarkup:tf,replaceDelimitedText:En,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];switch(r.type){case"INSERT_MARKUP":gn(e,r.content,vn(e,r.afterNode));break;case"MOVE_EXISTING":yn(e,r.fromNode,vn(e,r.afterNode));break;case"SET_MARKUP":Zd(e,r.content);break;case"TEXT_CONTENT":Jd(e,r.content);break;case"REMOVE_NODE":bn(e,r.fromNode)}}}},rf=nf,of=rf,af=Bl,lf={dangerouslyProcessChildrenUpdates:function(e,t){var n=af.getNodeFromInstance(e);of.processUpdates(n,t)}},uf=lf,sf=rf,cf=uf,pf={processChildrenUpdates:cf.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:sf.dangerouslyReplaceNodeWithMarkup},df=pf,ff=wn,hf=Bl,mf=ff,vf={focusDOMComponent:function(){mf(hf.getNodeFromInstance(this))}},gf=vf,yf={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bf=["Webkit","ms","Moz","O"];Object.keys(yf).forEach(function(e){bf.forEach(function(t){yf[kn(t,e)]=yf[e]})});var _f={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},Cf={isUnitlessNumber:yf,shorthandPropertyExpansions:_f},Ef=Cf,wf=Ef,kf=wf.isUnitlessNumber,Tf=Tn,Pf=/([A-Z])/g,Nf=Pn,Sf=Nf,Of=/^ms-/,Mf=Nn,xf=Sn,If=Ef,Af=Su,Df=Tf,Rf=Mf,Lf=xf,Uf=Lf(function(e){return Rf(e)}),Ff=!1,jf="cssFloat";if(Af.canUseDOM){var Bf=document.createElement("div").style;try{Bf.font=""}catch(e){Ff=!0}void 0===document.documentElement.style.cssFloat&&(jf="styleFloat")}var Vf={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=Uf(r)+":",n+=Df(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var r=e.style;for(var o in t)if(t.hasOwnProperty(o)){var a=Df(o,t[o],n);if("float"!==o&&"cssFloat"!==o||(o=jf),a)r[o]=a;else{var i=Ff&&If.shorthandPropertyExpansions[o];if(i)for(var l in i)r[l]="";else r[o]=""}}}},Hf=Vf,Wf=ld,qf=On,Kf=Ml,zf=qf,Yf=new RegExp("^["+Kf.ATTRIBUTE_NAME_START_CHAR+"]["+Kf.ATTRIBUTE_NAME_CHAR+"]*$"),Xf={},Gf={},Qf={createMarkupForID:function(e){return Kf.ID_ATTRIBUTE_NAME+"="+zf(e)},setAttributeForID:function(e,t){e.setAttribute(Kf.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return Kf.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(Kf.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=Kf.properties.hasOwnProperty(e)?Kf.properties[e]:null;if(n){if(xn(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+zf(t)}return Kf.isCustomAttribute(e)?null==t?"":e+"="+zf(t):null},createMarkupForCustomAttribute:function(e,t){return Mn(e)&&null!=t?e+"="+zf(t):""},setValueForProperty:function(e,t,n){var r=Kf.properties.hasOwnProperty(t)?Kf.properties[t]:null;if(r){var o=r.mutationMethod;if(o)o(e,n);else{if(xn(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var a=r.attributeName,i=r.attributeNamespace;i?e.setAttributeNS(i,a,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(a,""):e.setAttribute(a,""+n)}}}else if(Kf.isCustomAttribute(t))return void Qf.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){Mn(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=Kf.properties.hasOwnProperty(t)?Kf.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else Kf.isCustomAttribute(t)&&e.removeAttribute(t)}},$f=Qf,Zf=yu,Jf={handleTopLevel:function(e,t,n,r){var o=Zf.extractEvents(e,t,n,r);In(o)}},eh=Jf,th=Su,nh={animationend:An("Animation","AnimationEnd"),animationiteration:An("Animation","AnimationIteration"),animationstart:An("Animation","AnimationStart"),transitionend:An("Transition","TransitionEnd")},rh={},oh={};th.canUseDOM&&(oh=document.createElement("div").style,"AnimationEvent"in window||(delete nh.animationend.animation,delete nh.animationiteration.animation,delete nh.animationstart.animation),"TransitionEvent"in window||delete nh.transitionend.transition);var ah,ih=Dn,lh=Iu,uh=Yl,sh=eh,ch=Tp,ph=ih,dh=Gc,fh={},hh=!1,mh=0,vh={topAbort:"abort",topAnimationEnd:ph("animationend")||"animationend",topAnimationIteration:ph("animationiteration")||"animationiteration",topAnimationStart:ph("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:ph("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},gh="_reactListenersID"+String(Math.random()).slice(2),yh=lh({},sh,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(yh.handleTopLevel),yh.ReactEventListener=e}},setEnabled:function(e){yh.ReactEventListener&&yh.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!yh.ReactEventListener||!yh.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=Rn(n),o=uh.registrationNameDependencies[e],a=0;a<o.length;a++){var i=o[a];r.hasOwnProperty(i)&&r[i]||("topWheel"===i?dh("wheel")?yh.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):dh("mousewheel")?yh.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):yh.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===i?dh("scroll",!0)?yh.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):yh.ReactEventListener.trapBubbledEvent("topScroll","scroll",yh.ReactEventListener.WINDOW_HANDLE):"topFocus"===i||"topBlur"===i?(dh("focus",!0)?(yh.ReactEventListener.trapCapturedEvent("topFocus","focus",n),yh.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):dh("focusin")&&(yh.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),yh.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),r.topBlur=!0,r.topFocus=!0):vh.hasOwnProperty(i)&&yh.ReactEventListener.trapBubbledEvent(i,vh[i],n),r[i]=!0)}},trapBubbledEvent:function(e,t,n){return yh.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return yh.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===ah&&(ah=yh.supportsEventPageXY()),!ah&&!hh){var e=ch.refreshScrollValues;yh.ReactEventListener.monitorScrollValue(e),hh=!0}}}),bh=yh,_h="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ch=_h,Eh=Tl,wh=_l,kh=Ch,Th={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Ph={value:function(e,t,n){return!e[t]||Th[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:wh.PropTypes.func},Nh={},Sh={checkPropTypes:function(e,t,n){for(var r in Ph){if(Ph.hasOwnProperty(r))var o=Ph[r](t,r,e,"prop",null,kh);if(o instanceof Error&&!(o.message in Nh)){Nh[o.message]=!0;jn(n)}}},getValue:function(e){return e.valueLink?(Un(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(Fn(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(Un(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(Fn(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}},Oh=Sh,Mh=Tl,xh=Iu,Ih=$f,Ah=Oh,Dh=Bl,Rh=zc,Lh={getHostProps:function(e,t){var n=Ah.getValue(t),r=Ah.getChecked(t),o=xh({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:Vn.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&Ih.setValueForProperty(Dh.getNodeFromInstance(e),"checked",n||!1);var r=Dh.getNodeFromInstance(e),o=Ah.getValue(t);if(null!=o){var a=""+o;a!==r.value&&(r.value=a)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=Dh.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}},Uh=Lh,Fh=Iu,jh=Oh,Bh=Bl,Vh=zc,Hh=!1,Wh={getHostProps:function(e,t){return Fh({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=jh.getValue(t);
    44e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:qn.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||Hh||(Hh=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=jh.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,Wn(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?Wn(e,Boolean(t.multiple),t.defaultValue):Wn(e,Boolean(t.multiple),t.multiple?[]:""))}},qh=Wh,Kh=Iu,zh=_l,Yh=Bl,Xh=qh,Gh=!1,Qh={mountWrapper:function(e,t,n){var r=null;if(null!=n){var o=n;"optgroup"===o._tag&&(o=o._hostParent),null!=o&&"select"===o._tag&&(r=Xh.getSelectValueContext(o))}var a=null;if(null!=r){var i;if(i=null!=t.value?t.value+"":Kn(t.children),a=!1,Array.isArray(r)){for(var l=0;l<r.length;l++)if(""+r[l]===i){a=!0;break}}else a=""+r===i}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=Yh.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=Kh({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var r=Kn(t.children);return r&&(n.children=r),n}},$h=Qh,Zh=Tl,Jh=Iu,em=Oh,tm=Bl,nm=zc,rm={getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?Zh("91"):void 0;var n=Jh({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=em.getValue(t),r=n;if(null==n){var o=t.defaultValue,a=t.children;null!=a&&(null!=o?Zh("92"):void 0,Array.isArray(a)&&(a.length<=1?void 0:Zh("93"),a=a[0]),o=""+a),null==o&&(o=""),r=o}e._wrapperState={initialValue:""+r,listeners:null,onChange:Yn.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=tm.getNodeFromInstance(e),r=em.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=tm.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}},om=rm,am=Tl,im=!1,lm={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){im?am("104"):void 0,lm.replaceNodeWithMarkup=e.replaceNodeWithMarkup,lm.processChildrenUpdates=e.processChildrenUpdates,im=!0}}},um=lm,sm={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}},cm=sm,pm=Tl,dm=_l,fm={HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?fm.EMPTY:dm.isValidElement(e)?"function"==typeof e.type?fm.COMPOSITE:fm.HOST:void pm("26",e)}},hm=fm;"undefined"!=typeof process&&process.env,1;var mm=Object.prototype.hasOwnProperty,vm=Gn,gm=Qn,ym=Tl,bm=Iu,_m=_l,Cm=um,Em=da,wm=Ql,km=cm,Tm=hm,Pm=Ec,Nm=Xa,Sm=vm,Om=gm,Mm={ImpureClass:0,PureClass:1,StatelessFunctional:2};$n.prototype.render=function(){var e=km.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return Zn(e,t),t};var xm,Im=1,Am={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,r){this._context=r,this._mountOrder=Im++,this._hostParent=t,this._hostContainerInfo=n;var o,a=this._currentElement.props,i=this._processContext(r),l=this._currentElement.type,u=e.getUpdateQueue(),s=Jn(l),c=this._constructComponent(s,a,i,u);s||null!=c&&null!=c.render?er(l)?this._compositeType=Mm.PureClass:this._compositeType=Mm.ImpureClass:(o=c,Zn(l,o),null===c||c===!1||_m.isValidElement(c)?void 0:ym("105",l.displayName||l.name||"Component"),c=new $n(l),this._compositeType=Mm.StatelessFunctional),c.props=a,c.context=i,c.refs=Nm,c.updater=u,this._instance=c,km.set(c,this);var p=c.state;void 0===p&&(c.state=p=null),"object"!=typeof p||Array.isArray(p)?ym("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var d;return d=c.unstable_handleError?this.performInitialMountWithErrorHandling(o,t,n,e,r):this.performInitialMount(o,t,n,e,r),c.componentDidMount&&e.getReactMountReady().enqueue(c.componentDidMount,c),d},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var a,i=r.checkpoint();try{a=this.performInitialMount(e,t,n,r,o)}catch(l){r.rollback(i),this._instance.unstable_handleError(l),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),a=this.performInitialMount(e,t,n,r,o)}return a},performInitialMount:function(e,t,n,r,o){var a=this._instance,i=0;a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),void 0===e&&(e=this._renderValidatedComponent());var l=Tm.getType(e);this._renderedNodeType=l;var u=this._instantiateReactComponent(e,l!==Tm.EMPTY);this._renderedComponent=u;var s=Pm.mountComponent(u,r,t,n,this._processChildContext(o),i);return s},getHostNode:function(){return Pm.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";wm.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(Pm.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,km.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return Nm;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?ym("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:ym("108",this.getName()||"ReactCompositeComponent",o);return bm({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?Pm.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var a=this._instance;null==a?ym("136",this.getName()||"ReactCompositeComponent"):void 0;var i,l=!1;this._context===o?i=a.context:(i=this._processContext(o),l=!0);var u=t.props,s=n.props;t!==n&&(l=!0),l&&a.componentWillReceiveProps&&a.componentWillReceiveProps(s,i);var c=this._processPendingState(s,i),p=!0;this._pendingForceUpdate||(a.shouldComponentUpdate?p=a.shouldComponentUpdate(s,c,i):this._compositeType===Mm.PureClass&&(p=!Sm(u,s)||!Sm(a.state,c))),this._updateBatchNumber=null,p?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,s,c,i,e,o)):(this._currentElement=n,this._context=o,a.props=s,a.state=c,a.context=i)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=bm({},o?r[0]:n.state),i=o?1:0;i<r.length;i++){var l=r[i];bm(a,"function"==typeof l?l.call(n,a,e,t):l)}return a},_performComponentUpdate:function(e,t,n,r,o,a){var i,l,u,s=this._instance,c=Boolean(s.componentDidUpdate);c&&(i=s.props,l=s.state,u=s.context),s.componentWillUpdate&&s.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,s.props=t,s.state=n,s.context=r,this._updateRenderedComponent(o,a),c&&o.getReactMountReady().enqueue(s.componentDidUpdate.bind(s,i,l,u),s)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),a=0;if(Om(r,o))Pm.receiveComponent(n,o,e,this._processChildContext(t));else{var i=Pm.getHostNode(n);Pm.unmountComponent(n,!1);var l=Tm.getType(o);this._renderedNodeType=l;var u=this._instantiateReactComponent(o,l!==Tm.EMPTY);this._renderedComponent=u;var s=Pm.mountComponent(u,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),a);this._replaceNodeWithMarkup(i,s,n)}},_replaceNodeWithMarkup:function(e,t,n){Cm.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==Mm.StatelessFunctional){Em.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{Em.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||_m.isValidElement(e)?void 0:ym("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?ym("110"):void 0;var r=t.getPublicInstance(),o=n.refs===Nm?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===Mm.StatelessFunctional?null:e},_instantiateReactComponent:null},Dm=Am,Rm={injectEmptyComponentFactory:function(e){xm=e}},Lm={create:function(e){return xm(e)}};Lm.injection=Rm;var Um=Lm,Fm=Tl,jm=null,Bm=null,Vm={injectGenericComponentClass:function(e){jm=e},injectTextComponentClass:function(e){Bm=e}},Hm={createInternalComponent:tr,createInstanceForText:nr,isTextComponent:rr,injection:Vm},Wm=Hm,qm=Tl,Km=Iu,zm=Dm,Ym=Um,Xm=Wm,Gm=function(e){this.construct(e)};Km(Gm.prototype,zm,{_instantiateReactComponent:ir});var Qm=ir,$m={escape:lr,unescape:ur},Zm=$m,Jm="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ev=Jm,tv="function"==typeof Symbol&&Symbol.iterator,nv="@@iterator",rv=sr,ov=Tl,av=ev,iv=rv,lv=Zm,uv=".",sv=":",cv=dr,pv=Ec,dv=Qm,fv=gm,hv=cv;"undefined"!=typeof process&&process.env,1;var mv={instantiateChildren:function(e,t,n,r){if(null==e)return null;var o={};return hv(e,fr,o),o},updateChildren:function(e,t,n,r,o,a,i,l,u){if(t||e){var s,c;for(s in t)if(t.hasOwnProperty(s)){c=e&&e[s];var p=c&&c._currentElement,d=t[s];if(null!=c&&fv(p,d))pv.receiveComponent(c,d,o,l),t[s]=c;else{c&&(r[s]=pv.getHostNode(c),pv.unmountComponent(c,!1));var f=dv(d,!0);t[s]=f;var h=pv.mountComponent(f,o,a,i,l,u);n.push(h)}}for(s in e)!e.hasOwnProperty(s)||t&&t.hasOwnProperty(s)||(c=e[s],r[s]=pv.getHostNode(c),pv.unmountComponent(c,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];pv.unmountComponent(r,t)}}},vv=mv,gv=cv;"undefined"!=typeof process&&process.env,1;var yv=mr,bv=Tl,_v=um,Cv=Ec,Ev=vv,wv=yv,kv={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return Ev.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,a){var i,l=0;return i=wv(t,l),Ev.updateChildren(e,i,n,r,o,this,this._hostContainerInfo,a,l),i},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],a=0;for(var i in r)if(r.hasOwnProperty(i)){var l=r[i],u=0,s=Cv.mountComponent(l,t,this,this._hostContainerInfo,n,u);l._mountIndex=a++,o.push(s)}return o},updateTextContent:function(e){var t=this._renderedChildren;Ev.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&bv("118");var r=[_r(e)];Er(this,r)},updateMarkup:function(e){var t=this._renderedChildren;Ev.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&bv("118");var r=[br(e)];Er(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},a=[],i=this._reconcilerUpdateChildren(r,e,a,o,t,n);if(i||r){var l,u=null,s=0,c=0,p=0,d=null;for(l in i)if(i.hasOwnProperty(l)){var f=r&&r[l],h=i[l];f===h?(u=Cr(u,this.moveChild(f,d,s,c)),c=Math.max(f._mountIndex,c),f._mountIndex=s):(f&&(c=Math.max(f._mountIndex,c)),u=Cr(u,this._mountChildAtIndex(h,a[p],d,s,t,n)),p++),s++,d=Cv.getHostNode(h)}for(l in o)o.hasOwnProperty(l)&&(u=Cr(u,this._unmountChild(r[l],o[l])));u&&Er(this,u),this._renderedChildren=i}},unmountChildren:function(e){var t=this._renderedChildren;Ev.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return gr(e,t,n)},createChild:function(e,t,n){return vr(n,t,e._mountIndex)},removeChild:function(e,t){return yr(e,t)},_mountChildAtIndex:function(e,t,n,r,o,a){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}},Tv=kv,Pv=Tl,Nv=cm,Sv=zc,Ov={isMounted:function(e){var t=Nv.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){Ov.validateCallback(t,n);var r=Tr(e);return r?(r._pendingCallbacks?r._pendingCallbacks.push(t):r._pendingCallbacks=[t],void wr(r)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],wr(e)},enqueueForceUpdate:function(e){var t=Tr(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,wr(t))},enqueueReplaceState:function(e,t){var n=Tr(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,wr(n))},enqueueSetState:function(e,t){var n=Tr(e,"setState");if(n){var r=n._pendingStateQueue||(n._pendingStateQueue=[]);r.push(t),wr(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,wr(e)},validateCallback:function(e,t){e&&"function"!=typeof e?Pv("122",t,kr(e)):void 0}},Mv=Ov,xv=Mv,Iv=function(){function e(t){Pr(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&xv.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?xv.enqueueForceUpdate(e):Nr(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?xv.enqueueReplaceState(e,t):Nr(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?xv.enqueueSetState(e,t):Nr(e,"setState")},e}(),Av=Iv,Dv=Iu,Rv=Wu,Lv=Pc,Uv=Av,Fv=[],jv={enqueue:function(){}},Bv={getTransactionWrappers:function(){return Fv},getReactMountReady:function(){return jv},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};Dv(Sr.prototype,Lv,Bv),Rv.addPoolingTo(Sr);var Vv=Sr,Hv=Tl,Wv=Iu,qv=gf,Kv=Hf,zv=Cd,Yv=Gp,Xv=Ml,Gv=$f,Qv=yu,$v=Yl,Zv=bh,Jv=Il,eg=Bl,tg=Uh,ng=$h,rg=qh,og=om,ag=Tv,ig=Vv,lg=ld,ug=Jv,sg=Qv.deleteListener,cg=eg.getNodeFromInstance,pg=Zv.listenTo,dg=$v.registrationNameModules,fg={string:!0,number:!0},hg="style",mg="__html",vg={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},gg=11,yg={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},bg={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},_g={listing:!0,pre:!0,textarea:!0},Cg=Wv({menuitem:!0},bg),Eg=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,wg={},kg={}.hasOwnProperty,Tg=1;Br.displayName="ReactDOMComponent",Br.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=Tg++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var o=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(Lr,this);break;case"input":tg.mountWrapper(this,o,t),o=tg.getHostProps(this,o),e.getReactMountReady().enqueue(Lr,this);break;case"option":ng.mountWrapper(this,o,t),o=ng.getHostProps(this,o);break;case"select":rg.mountWrapper(this,o,t),o=rg.getHostProps(this,o),e.getReactMountReady().enqueue(Lr,this);break;case"textarea":og.mountWrapper(this,o,t),o=og.getHostProps(this,o),e.getReactMountReady().enqueue(Lr,this)}Mr(this,o);var a,i;null!=t?(a=t._namespaceURI,i=t._tag):n._tag&&(a=n._namespaceURI,i=n._tag),(null==a||a===Yv.svg&&"foreignobject"===i)&&(a=Yv.html),a===Yv.html&&("svg"===this._tag?a=Yv.svg:"math"===this._tag&&(a=Yv.mathml)),this._namespaceURI=a;var l;if(e.useCreateElement){var u,s=n._ownerDocument;if(a===Yv.html)if("script"===this._tag){var c=s.createElement("div"),p=this._currentElement.type;c.innerHTML="<"+p+"></"+p+">",u=c.removeChild(c.firstChild)}else u=o.is?s.createElement(this._currentElement.type,o.is):s.createElement(this._currentElement.type);else u=s.createElementNS(a,this._currentElement.type);eg.precacheNode(this,u),this._flags|=ug.hasCachedChildNodes,this._hostParent||Gv.setAttributeForRoot(u),this._updateDOMProperties(null,o,e);var d=zv(u);this._createInitialChildren(e,o,r,d),l=d}else{var f=this._createOpenTagMarkupAndPutListeners(e,o),h=this._createContentMarkup(e,o,r);l=!h&&bg[this._tag]?f+"/>":f+">"+h+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(Ar,this),o.autoFocus&&e.getReactMountReady().enqueue(qv.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(Dr,this),o.autoFocus&&e.getReactMountReady().enqueue(qv.focusDOMComponent,this);break;case"select":o.autoFocus&&e.getReactMountReady().enqueue(qv.focusDOMComponent,this);break;case"button":o.autoFocus&&e.getReactMountReady().enqueue(qv.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(Rr,this)}return l},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(dg.hasOwnProperty(r))o&&xr(this,r,o,e);else{r===hg&&(o&&(o=this._previousStyleCopy=Wv({},t.style)),o=Kv.createMarkupForStyles(o,this));var a=null;null!=this._tag&&jr(this._tag,t)?vg.hasOwnProperty(r)||(a=Gv.createMarkupForCustomAttribute(r,o)):a=Gv.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+Gv.createMarkupForRoot()),n+=" "+Gv.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=fg[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)r=lg(a);else if(null!=i){var l=this.mountChildren(i,e,n);r=l.join("")}}return _g[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&zv.queueHTML(r,o.__html);else{var a=fg[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)""!==a&&zv.queueText(r,a);else if(null!=i)for(var l=this.mountChildren(i,e,n),u=0;u<l.length;u++)zv.queueChild(r,l[u])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var o=t.props,a=this._currentElement.props;switch(this._tag){case"input":o=tg.getHostProps(this,o),a=tg.getHostProps(this,a);break;case"option":o=ng.getHostProps(this,o),a=ng.getHostProps(this,a);break;case"select":o=rg.getHostProps(this,o),a=rg.getHostProps(this,a);break;case"textarea":o=og.getHostProps(this,o),a=og.getHostProps(this,a)}switch(Mr(this,a),this._updateDOMProperties(o,a,e),this._updateDOMChildren(o,a,e,r),this._tag){case"input":tg.updateWrapper(this);break;case"textarea":og.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(Ur,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===hg){var i=this._previousStyleCopy;for(o in i)i.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else dg.hasOwnProperty(r)?e[r]&&sg(this,r):jr(this._tag,e)?vg.hasOwnProperty(r)||Gv.deleteValueForAttribute(cg(this),r):(Xv.properties[r]||Xv.isCustomAttribute(r))&&Gv.deleteValueForProperty(cg(this),r);for(r in t){var l=t[r],u=r===hg?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&l!==u&&(null!=l||null!=u))if(r===hg)if(l?l=this._previousStyleCopy=Wv({},l):this._previousStyleCopy=null,u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(a=a||{},a[o]=l[o])}else a=l;else if(dg.hasOwnProperty(r))l?xr(this,r,l,n):u&&sg(this,r);else if(jr(this._tag,t))vg.hasOwnProperty(r)||Gv.setValueForAttribute(cg(this),r,l);else if(Xv.properties[r]||Xv.isCustomAttribute(r)){var s=cg(this);null!=l?Gv.setValueForProperty(s,r,l):Gv.deleteValueForProperty(s,r)}}a&&Kv.setValueForStyles(cg(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=fg[typeof e.children]?e.children:null,a=fg[typeof t.children]?t.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,l=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=null!=o?null:e.children,s=null!=a?null:t.children,c=null!=o||null!=i,p=null!=a||null!=l;null!=u&&null==s?this.updateChildren(null,n,r):c&&!p&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=l?i!==l&&this.updateMarkup(""+l):null!=s&&this.updateChildren(s,n,r)},getHostNode:function(){return cg(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":Hv("66",this._tag)}this.unmountChildren(e),eg.uncacheNode(this),Qv.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return cg(this)}},Wv(Br.prototype,Br.Mixin,ag.Mixin);var Pg=Br,Ng=Iu,Sg=Cd,Og=Bl,Mg=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};Ng(Mg.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++;this._domID=o,this._hostParent=t,this._hostContainerInfo=n;var a=" react-empty: "+this._domID+" ";if(e.useCreateElement){var i=n._ownerDocument,l=i.createComment(a);return Og.precacheNode(this,l),Sg(l)}return e.renderToStaticMarkup?"":"<!--"+a+"-->"},receiveComponent:function(){},getHostNode:function(){return Og.getNodeFromInstance(this)},unmountComponent:function(){Og.uncacheNode(this)}});var xg=Mg,Ig=Tl,Ag={isAncestor:Hr,getLowestCommonAncestor:Vr,getParentInstance:Wr,traverseTwoPhase:qr,traverseEnterLeave:Kr},Dg=Tl,Rg=Iu,Lg=rf,Ug=Cd,Fg=Bl,jg=ld,Bg=function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null};Rg(Bg.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,a=" react-text: "+o+" ",i=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var l=n._ownerDocument,u=l.createComment(a),s=l.createComment(i),c=Ug(l.createDocumentFragment());return Ug.queueChild(c,Ug(u)),this._stringText&&Ug.queueChild(c,Ug(l.createTextNode(this._stringText))),Ug.queueChild(c,Ug(s)),Fg.precacheNode(this,u),this._closingComment=s,c}var p=jg(this._stringText);return e.renderToStaticMarkup?p:"<!--"+a+"-->"+p+"<!--"+i+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();Lg.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=Fg.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?Dg("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,Fg.uncacheNode(this)}});var Vg=Bg,Hg=Iu,Wg=zc,qg=Pc,Kg=ha,zg={initialize:Kg,close:function(){Qg.isBatchingUpdates=!1}},Yg={initialize:Kg,close:Wg.flushBatchedUpdates.bind(Wg)},Xg=[Yg,zg];Hg(zr.prototype,qg,{getTransactionWrappers:function(){return Xg}});var Gg=new zr,Qg={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=Qg.isBatchingUpdates;return Qg.isBatchingUpdates=!0,i?e(t,n,r,o,a):Gg.perform(e,null,t,n,r,o,a)}},$g=Qg,Zg=ha,Jg={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:Zg}},registerDefault:function(){}},ey=Jg,ty=Yr,ny=Iu,ry=ey,oy=Su,ay=Wu,iy=Bl,ly=zc,uy=Yc,sy=ty;ny(Gr.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),ay.addPoolingTo(Gr,ay.twoArgumentPooler);var cy={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:oy.canUseDOM?window:null,setHandleTopLevel:function(e){cy._handleTopLevel=e},setEnabled:function(e){cy._enabled=!!e},isEnabled:function(){return cy._enabled},trapBubbledEvent:function(e,t,n){return n?ry.listen(n,t,cy.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?ry.capture(n,t,cy.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=$r.bind(null,e);ry.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(cy._enabled){var n=Gr.getPooled(e,t);try{ly.batchedUpdates(Qr,n)}finally{Gr.release(n)}}}},py=cy,dy=Ml,fy=yu,hy=tu,my=um,vy=Um,gy=bh,yy=Wm,by=zc,_y={Component:my.injection,DOMProperty:dy.injection,EmptyComponent:vy.injection,EventPluginHub:fy.injection,EventPluginUtils:hy.injection,EventEmitter:gy.injection,HostComponent:yy.injection,Updates:by.injection},Cy=_y,Ey=eo,wy=Su,ky=Ey,Ty=zu,Py=wy.canUseDOM&&"selection"in document&&!("getSelection"in window),Ny={getOffsets:Py?no:ro,setOffsets:Py?oo:ao},Sy=Ny,Oy=io,My=Oy,xy=lo,Iy=xy,Ay=uo,Dy=so,Ry=Sy,Ly=Ay,Uy=ff,Fy=Dy,jy={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=Fy();return{focusedElem:e,selectionRange:jy.hasSelectionCapabilities(e)?jy.getSelection(e):null}},restoreSelection:function(e){var t=Fy(),n=e.focusedElem,r=e.selectionRange;t!==n&&co(n)&&(jy.hasSelectionCapabilities(n)&&jy.setSelection(n,r),Uy(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=Ry.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else Ry.setOffsets(e,t)}},By=jy,Vy=Iu,Hy=Ms,Wy=Wu,qy=bh,Ky=By,zy=Pc,Yy=Mv,Xy={initialize:Ky.getSelectionInformation,close:Ky.restoreSelection},Gy={initialize:function(){var e=qy.isEnabled();return qy.setEnabled(!1),e},close:function(e){qy.setEnabled(e)}},Qy={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},$y=[Xy,Gy,Qy],Zy={getTransactionWrappers:function(){return $y},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return Yy},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){Hy.release(this.reactMountReady),this.reactMountReady=null}};Vy(po.prototype,zy,Zy),Wy.addPoolingTo(po);var Jy=po,eb={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},tb={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,
    5 maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},nb={Properties:{},DOMAttributeNamespaces:{xlinkActuate:eb.xlink,xlinkArcrole:eb.xlink,xlinkHref:eb.xlink,xlinkRole:eb.xlink,xlinkShow:eb.xlink,xlinkTitle:eb.xlink,xlinkType:eb.xlink,xmlBase:eb.xml,xmlLang:eb.xml,xmlSpace:eb.xml},DOMAttributeNames:{}};Object.keys(tb).forEach(function(e){nb.Properties[e]=0,tb[e]&&(nb.DOMAttributeNames[e]=tb[e])});var rb=nb,ob=Tu,ab=Su,ib=Bl,lb=By,ub=ns,sb=Dy,cb=$c,pb=vm,db=ab.canUseDOM&&"documentMode"in document&&document.documentMode<=11,fb={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},hb=null,mb=null,vb=null,gb=!1,yb=!1,bb={eventTypes:fb,extractEvents:function(e,t,n,r){if(!yb)return null;var o=t?ib.getNodeFromInstance(t):window;switch(e){case"topFocus":(cb(o)||"true"===o.contentEditable)&&(hb=o,mb=t,vb=null);break;case"topBlur":hb=null,mb=null,vb=null;break;case"topMouseDown":gb=!0;break;case"topContextMenu":case"topMouseUp":return gb=!1,ho(n,r);case"topSelectionChange":if(db)break;case"topKeyDown":case"topKeyUp":return ho(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(yb=!0)}},_b=bb,Cb=ns,Eb={animationName:null,elapsedTime:null,pseudoElement:null};Cb.augmentClass(mo,Eb);var wb=mo,kb=ns,Tb={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};kb.augmentClass(vo,Tb);var Pb=vo,Nb=Ep,Sb={relatedTarget:null};Nb.augmentClass(go,Sb);var Ob=go,Mb=yo,xb=Mb,Ib={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ab={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Db=bo,Rb=Ep,Lb=Mb,Ub=Db,Fb=Np,jb={key:Ub,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Fb,charCode:function(e){return"keypress"===e.type?Lb(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Lb(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};Rb.augmentClass(_o,jb);var Bb=_o,Vb=Ap,Hb={dataTransfer:null};Vb.augmentClass(Co,Hb);var Wb=Co,qb=Ep,Kb=Np,zb={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Kb};qb.augmentClass(Eo,zb);var Yb=Eo,Xb=ns,Gb={propertyName:null,elapsedTime:null,pseudoElement:null};Xb.augmentClass(wo,Gb);var Qb=wo,$b=Ap,Zb={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};$b.augmentClass(ko,Zb);var Jb=ko,e_=Tl,t_=ey,n_=Tu,r_=Bl,o_=wb,a_=Pb,i_=ns,l_=Ob,u_=Bb,s_=Ap,c_=Wb,p_=Yb,d_=Qb,f_=Ep,h_=Jb,m_=ha,v_=Mb,g_={},y_={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};g_[e]=o,y_[r]=o});var b_={},__={eventTypes:g_,extractEvents:function(e,t,n,r){var o=y_[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=i_;break;case"topKeyPress":if(0===v_(n))return null;case"topKeyDown":case"topKeyUp":a=u_;break;case"topBlur":case"topFocus":a=l_;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=s_;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=c_;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=p_;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=o_;break;case"topTransitionEnd":a=d_;break;case"topScroll":a=f_;break;case"topWheel":a=h_;break;case"topCopy":case"topCut":case"topPaste":a=a_}a?void 0:e_("86",e);var i=a.getPooled(o,t,n,r);return n_.accumulateTwoPhaseDispatches(i),i},didPutListener:function(e,t,n){if("onClick"===t&&!Po(e._tag)){var r=To(e),o=r_.getNodeFromInstance(e);b_[r]||(b_[r]=t_.listen(o,"click",m_))}},willDeleteListener:function(e,t){if("onClick"===t&&!Po(e._tag)){var n=To(e);b_[n].remove(),delete b_[n]}}},C_=__,E_=Hl,w_=Ps,k_=vp,T_=yp,P_=jp,N_=Yp,S_=df,O_=Pg,M_=Bl,x_=xg,I_=Ag,A_=Vg,D_=$g,R_=py,L_=Cy,U_=Jy,F_=rb,j_=_b,B_=C_,V_=!1,H_={inject:No},W_=9,q_=So,K_={useCreateElement:!0,useFiber:!1},z_=K_,Y_=65521,X_=Oo,G_=X_,Q_=/\/?>/,$_=/^<\!\-\-/,Z_={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=G_(e);return $_.test(e)?e:e.replace(Q_," "+Z_.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(Z_.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=G_(e);return r===n}},J_=Z_,eC=Tl,tC=Cd,nC=Ml,rC=_l,oC=bh,aC=Bl,iC=q_,lC=z_,uC=Is,sC=cm,cC=J_,pC=Ec,dC=Mv,fC=zc,hC=Xa,mC=Qm,vC=ad,gC=gm,yC=nC.ID_ATTRIBUTE_NAME,bC=nC.ROOT_ATTRIBUTE_NAME,_C=1,CC=9,EC=11,wC={},kC=1,TC=function(){this.rootID=kC++};TC.prototype.isReactComponent={},TC.prototype.render=function(){return this.props.child},TC.isReactTopLevelWrapper=!0;var PC={TopLevelWrapper:TC,_instancesByReactRootID:wC,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return PC.scrollMonitor(r,function(){dC.enqueueElementInternal(e,t,n),o&&dC.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){Uo(t)?void 0:eC("37"),oC.ensureScrollValueMonitoring();var o=mC(e,!1);fC.batchedUpdates(Do,o,t,n,r);var a=o._instance.rootID;return wC[a]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&sC.has(e)?void 0:eC("38"),PC._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){dC.validateCallback(r,"ReactDOM.render"),rC.isValidElement(t)?void 0:eC("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var o,a=rC.createElement(TC,{child:t});if(e){var i=sC.get(e);o=i._processChildContext(i._context)}else o=hC;var l=jo(n);if(l){var u=l._currentElement,s=u.props.child;if(gC(s,t)){var c=l._renderedComponent.getPublicInstance(),p=r&&function(){r.call(c)};return PC._updateRootComponent(l,a,o,n,p),c}PC.unmountComponentAtNode(n)}var d=xo(n),f=d&&!!Io(d),h=Lo(n),m=f&&!l&&!h,v=PC._renderNewRootComponent(a,n,m,o)._renderedComponent.getPublicInstance();return r&&r.call(v),v},render:function(e,t,n){return PC._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){Uo(e)?void 0:eC("40");var t=jo(e);if(!t){Lo(e),1===e.nodeType&&e.hasAttribute(bC);return!1}return delete wC[t._instance.rootID],fC.batchedUpdates(Ro,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,r,o){if(Uo(t)?void 0:eC("41"),r){var a=xo(t);if(cC.canReuseMarkup(e,a))return void aC.precacheNode(n,a);var i=a.getAttribute(cC.CHECKSUM_ATTR_NAME);a.removeAttribute(cC.CHECKSUM_ATTR_NAME);var l=a.outerHTML;a.setAttribute(cC.CHECKSUM_ATTR_NAME,i);var u=e,s=Mo(u,l),c=" (client) "+u.substring(s-20,s+20)+"\n (server) "+l.substring(s-20,s+20);t.nodeType===CC?eC("42",c):void 0}if(t.nodeType===CC?eC("43"):void 0,o.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);tC.insertTreeBefore(t,e,null)}else vC(t,e),aC.precacheNode(n,t.firstChild)}},NC=PC,SC="15.4.2",OC=hm,MC=Bo,xC=Tl,IC=Bl,AC=cm,DC=MC,RC=Vo,LC=NC,UC=LC.renderSubtreeIntoContainer,FC=Bl,jC=H_,BC=NC,VC=Ec,HC=zc,WC=SC,qC=RC,KC=MC,zC=UC;jC.inject();var YC={findDOMNode:qC,render:BC.render,unmountComponentAtNode:BC.unmountComponentAtNode,version:WC,unstable_batchedUpdates:HC.batchedUpdates,unstable_renderSubtreeIntoContainer:zC};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:FC.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=KC(e)),e?FC.getNodeFromInstance(e):null}},Mount:BC,Reconciler:VC});var XC=YC,GC=XC,QC=Ho(function(e,t){var n=Object.prototype.hasOwnProperty,r=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}();t.arrayToObject=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},t.merge=function(e,r,o){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];e[r]=!0}return e}if("object"!=typeof e)return[e].concat(r);var a=e;return Array.isArray(e)&&!Array.isArray(r)&&(a=t.arrayToObject(e,o)),Array.isArray(e)&&Array.isArray(r)?(r.forEach(function(r,a){n.call(e,a)?e[a]&&"object"==typeof e[a]?e[a]=t.merge(e[a],r,o):e.push(r):e[a]=r}),e):Object.keys(r).reduce(function(e,n){var a=r[n];return Object.prototype.hasOwnProperty.call(e,n)?e[n]=t.merge(e[n],a,o):e[n]=a,e},a)},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),n="",o=0;o<t.length;++o){var a=t.charCodeAt(o);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?n+=t.charAt(o):a<128?n+=r[a]:a<2048?n+=r[192|a>>6]+r[128|63&a]:a<55296||a>=57344?n+=r[224|a>>12]+r[128|a>>6&63]+r[128|63&a]:(o+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(o)),n+=r[240|a>>18]+r[128|a>>12&63]+r[128|a>>6&63]+r[128|63&a])}return n},t.compact=function(e,n){if("object"!=typeof e||null===e)return e;var r=n||[],o=r.indexOf(e);if(o!==-1)return r[o];if(r.push(e),Array.isArray(e)){for(var a=[],i=0;i<e.length;++i)e[i]&&"object"==typeof e[i]?a.push(t.compact(e[i],r)):"undefined"!=typeof e[i]&&a.push(e[i]);return a}var l=Object.keys(e);return l.forEach(function(n){e[n]=t.compact(e[n],r)}),e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null!==e&&"undefined"!=typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}}),$C=String.prototype.replace,ZC=/%20/g,JC={default:"RFC3986",formatters:{RFC1738:function(e){return $C.call(e,ZC,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"},eE=QC,tE=JC,nE={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},rE=Date.prototype.toISOString,oE={delimiter:"&",encode:!0,encoder:eE.encode,serializeDate:function(e){return rE.call(e)},skipNulls:!1,strictNullHandling:!1},aE=function e(t,n,r,o,a,i,l,u,s,c,p){var d=t;if("function"==typeof l)d=l(n,d);else if(d instanceof Date)d=c(d);else if(null===d){if(o)return i?i(n):n;d=""}if("string"==typeof d||"number"==typeof d||"boolean"==typeof d||eE.isBuffer(d))return i?[p(i(n))+"="+p(i(d))]:[p(n)+"="+p(String(d))];var f=[];if("undefined"==typeof d)return f;var h;if(Array.isArray(l))h=l;else{var m=Object.keys(d);h=u?m.sort(u):m}for(var v=0;v<h.length;++v){var g=h[v];a&&null===d[g]||(f=Array.isArray(d)?f.concat(e(d[g],r(n,g),r,o,a,i,l,u,s,c,p)):f.concat(e(d[g],n+(s?"."+g:"["+g+"]"),r,o,a,i,l,u,s,c,p)))}return f},iE=function(e,t){var n=e,r=t||{},o="undefined"==typeof r.delimiter?oE.delimiter:r.delimiter,a="boolean"==typeof r.strictNullHandling?r.strictNullHandling:oE.strictNullHandling,i="boolean"==typeof r.skipNulls?r.skipNulls:oE.skipNulls,l="boolean"==typeof r.encode?r.encode:oE.encode,u=l?"function"==typeof r.encoder?r.encoder:oE.encoder:null,s="function"==typeof r.sort?r.sort:null,c="undefined"!=typeof r.allowDots&&r.allowDots,p="function"==typeof r.serializeDate?r.serializeDate:oE.serializeDate;if("undefined"==typeof r.format)r.format=tE.default;else if(!Object.prototype.hasOwnProperty.call(tE.formatters,r.format))throw new TypeError("Unknown format option provided.");var d,f,h=tE.formatters[r.format];if(null!==r.encoder&&void 0!==r.encoder&&"function"!=typeof r.encoder)throw new TypeError("Encoder has to be a function.");"function"==typeof r.filter?(f=r.filter,n=f("",n)):Array.isArray(r.filter)&&(f=r.filter,d=f);var m=[];if("object"!=typeof n||null===n)return"";var v;v=r.arrayFormat in nE?r.arrayFormat:"indices"in r?r.indices?"indices":"repeat":"indices";var g=nE[v];d||(d=Object.keys(n)),s&&d.sort(s);for(var y=0;y<d.length;++y){var b=d[y];i&&null===n[b]||(m=m.concat(aE(n[b],b,g,a,i,u,f,s,c,p,h)))}return m.join(o)},lE=QC,uE=Object.prototype.hasOwnProperty,sE={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:lE.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},cE=function(e,t){for(var n={},r=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<r.length;++o){var a,i,l=r[o],u=l.indexOf("]=")===-1?l.indexOf("="):l.indexOf("]=")+1;u===-1?(a=t.decoder(l),i=t.strictNullHandling?null:""):(a=t.decoder(l.slice(0,u)),i=t.decoder(l.slice(u+1))),uE.call(n,a)?n[a]=[].concat(n[a]).concat(i):n[a]=i}return n},pE=function e(t,n,r){if(!t.length)return n;var o,a=t.shift();if("[]"===a)o=[],o=o.concat(e(t,n,r));else{o=r.plainObjects?Object.create(null):{};var i="["===a[0]&&"]"===a[a.length-1]?a.slice(1,a.length-1):a,l=parseInt(i,10);!isNaN(l)&&a!==i&&String(l)===i&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(o=[],o[l]=e(t,n,r)):o[i]=e(t,n,r)}return o},dE=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^\.\[]+)/g,"[$1]"):e,o=/^([^\[\]]*)/,a=/(\[[^\[\]]*\])/g,i=o.exec(r),l=[];if(i[1]){if(!n.plainObjects&&uE.call(Object.prototype,i[1])&&!n.allowPrototypes)return;l.push(i[1])}for(var u=0;null!==(i=a.exec(r))&&u<n.depth;)u+=1,(n.plainObjects||!uE.call(Object.prototype,i[1].replace(/\[|\]/g,""))||n.allowPrototypes)&&l.push(i[1]);return i&&l.push("["+r.slice(i.index)+"]"),pE(l,t,n)}},fE=function(e,t){var n=t||{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.delimiter="string"==typeof n.delimiter||lE.isRegExp(n.delimiter)?n.delimiter:sE.delimiter,n.depth="number"==typeof n.depth?n.depth:sE.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:sE.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.decoder="function"==typeof n.decoder?n.decoder:sE.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:sE.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:sE.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:sE.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:sE.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:sE.strictNullHandling,""===e||null===e||"undefined"==typeof e)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof e?cE(e,n):e,o=n.plainObjects?Object.create(null):{},a=Object.keys(r),i=0;i<a.length;++i){var l=a[i],u=dE(l,r[l],n);o=lE.merge(o,u,n)}return lE.compact(o)},hE=iE,mE=fE,vE=JC,gE={formats:vE,parse:mE,stringify:hE},yE={windowTitle:"Add a Contact Form",createDescription:"Edit fields below. We gave you a head start with some sample text.",addDescription:"Already have a typeform? Copy and paste the URL here",createTab:"Build a basic typeform",embedTab:"Embed an existing typeform",nameLabel:"Name field",emailLabel:"Email field",messageLabel:"Message field",nameField:"Hey there! What's your name?",emailField:"Great! And your email?",messageField:"Thanks! How can we help?",urlField:"http://example.typeform.com/to/Z6Agtz",responsesFieldset:"Responses",responsesDesc:"Email where you'll receive your responses",responsesField:"your.email@example.com",disclaimer:"A contact form is a great start. If you want to add video or images to your typeform, match your brand colors, and customize it even more, then you'll need to set up a Typeform account.",embedOptions:"Embedding options",embedButton:"Embed",popupButton:"Popup",drawerButton:"Drawer",linkLabel:"Link",buttonLabel:"Button",banner:{create:{title:"Think that's good?",content:["See what else you can do with Typeform.","Sign up for free and start collecting data and information conversationally"],button:"Get Started"},embed:{title:"Want to become a Typeform master?",button:"Yeah, baby!"}},linkText:"Launch me!"},bE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_E=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),CE=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},EE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wE=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},kE=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},TE=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),PE=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},NE=El;Wo.propTypes={label:NE.string,name:NE.string,placeholder:NE.string,inputType:NE.string};var SE=El;qo.propTypes={title:SE.string,visible:SE.bool,className:SE.string,children:SE.oneOfType([SE.arrayOf(SE.node),SE.node])},qo.defaultProps={visible:!0,className:""};var OE=El;Ko.propTypes={label:OE.string,name:OE.string,options:OE.array,checked:OE.string,onChange:OE.func};var ME=kl,xE=El,IE=typeformObject,AE=IE.pluginRoot,DE=function(e){function t(e){bE(this,t);var n=kE(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setActive=n.setActive.bind(n),n}return wE(t,e),_E(t,[{key:"setActive",value:function(e){var t=this.props.isActive?"#2c82bd":"#aaa",n=e.currentTarget.contentDocument;n.querySelector("#form-bg").style.fill=t}},{key:"componentDidUpdate",value:function(){this.setActive({currentTarget:this.icon})}},{key:"shouldComponentUpdate",value:function(e){return e.isActive!==this.props.isActive}},{key:"render",value:function(){var e=this,t=this.props,n=t.icon,r=t.children,o=t.isActive,a=t.onClick;return wl("div",{className:"embed-option "+(o?"is-active":""),role:"radio","aria-checked":o,tabIndex:o?"0":"-1"},wl("button",{className:"embed-option__button",type:"button",onClick:a},wl("div",{className:"embed-option__cover"}),wl("object",{data:AE+"/assets/images/"+n,onLoad:this.setActive,ref:function(t){return e.icon=t}})),wl("div",{className:"embed-option__label",onClick:a},r))}}]),t}(ME);DE.propTypes={isActive:xE.bool,icon:xE.string,children:xE.string,onClick:xE.oneOfType([xE.arrayOf(xE.node),xE.node])};var RE=kl,LE=El,UE=typeformObject,FE=UE.pluginRoot,jE={create:"https://admin.typeform.com/signup?utm_source=wp&utm_medium=display&utm_campaign=wp_plugin&utm_content=cta_signup",embed:"https://admin.typeform.com/crashcourse#/section/beginner?utm_source=wp&utm_medium=display&utm_campaign=wp_plugin&utm_content=cta_crashcourse"},BE=[["link",yE.linkLabel],["button",yE.buttonLabel]],VE=function(e){var t=["activeTab","name","message","email","email_notifications"],n="create"===e.activeTab,r="embed"===e.type,o=Object.keys(e).reduce(function(o,a){var i=e[a];switch(a){case"url":n||(o[a]=i);break;case"width":case"height":r&&(o[a]=i);break;case"style":case"button_text":r||(o[a]=i);break;default:if(t.indexOf(a)!==-1)break;o[a]=i}return o},{});return n&&!function(){var t={},n=["name","email","message","email_notifications"];n.forEach(function(n){yE.hasOwnProperty(n+"Field")&&(e[n]||(e[n]=yE[n+"Field"]),t[n]=e[n])}),o.builder=gE.stringify(t)}(),o},HE=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText},WE=function(e){function t(e){bE(this,t);var n=kE(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=Object.assign({},{type:"drawer",activeTab:e.value.url?"add":"create"},n.processValues(e)),n.setTab=n.setTab.bind(n),n.setEmbedType=n.setEmbedType.bind(n),n.setLinkStyle=n.setLinkStyle.bind(n),n.record=n.record.bind(n),n}return wE(t,e),_E(t,[{key:"processValues",value:function(e){var t=e.value,n=t.builder?HE(t.builder):"",r=Object.assign({},t,gE.parse(n));return delete r.builder,r}},{key:"setTab",value:function(e){return this.setState({activeTab:e})}},{key:"setEmbedType",value:function(e){return this.setState({type:e})}},{key:"setLinkStyle",value:function(e){return this.setState({style:e})}},{key:"record",value:function(e){return this.setState(CE({},e.currentTarget.name,e.currentTarget.value))}},{key:"render",value:function(){var e=this.setTab,t=this.setEmbedType,n=this.setLinkStyle,r=this.state,o=r.activeTab,a=r.name,i=r.email,l=r.message,u=r.email_notifications,s=r.style,c=r.type,p=r.url,d=r.width,f=r.height,h=r.button_text,m=function(e){return{isActive:c===e,onClick:function(){return t(e)}}};return wl("div",{className:"typeform-embed-widget tf-embed"},wl("form",{className:"tf-embed__form",onSubmit:this.onSubmit},wl("div",{className:"tf-embed__tab-buttons"},wl("button",{className:"tf-embed__tab-button "+("create"===o?"is-active":""),onClick:function(){return e("create")},type:"button"},yE.createTab),wl("button",{className:"tf-embed__tab-button "+("add"===o?"is-active":""),onClick:function(){return e("add")},type:"button"},yE.embedTab)),wl(qo,{visible:"create"===o,className:"tf-embed__tab"},wl("div",{className:"tf-embed__description"},yE.createDescription),wl(Wo,{label:yE.nameLabel,name:"name",placeholder:yE.nameField,defaultValue:a||yE.nameField,onChange:this.record}),wl(Wo,{label:yE.emailLabel,name:"email",placeholder:yE.emailField,defaultValue:i||yE.emailField,onChange:this.record}),wl(Wo,{label:yE.messageLabel,name:"message",placeholder:yE.messageField,defaultValue:l||yE.messageField,onChange:this.record})),wl(qo,{visible:"add"===o,className:"tf-embed__tab"},wl("div",{className:"tf-embed__description"},yE.addDescription),wl(Wo,{label:"URL",name:"url",placeholder:yE.urlField,defaultValue:p,onChange:this.record})),wl(qo,{title:yE.responsesFieldset,visible:"create"===o,className:"responses-options"},wl("div",{className:"tf-form-group__description"},yE.responsesDesc),wl(Wo,{label:"Email",name:"email_notifications",placeholder:yE.responsesField,inputType:"email",defaultValue:u,onChange:this.record})),wl(qo,{title:yE.embedOptions,className:"embed-options"},wl("div",{className:"embed-options__type",role:"radiogroup"},wl(DE,EE({icon:"drawer.svg"},m("drawer")),yE.drawerButton),wl(DE,EE({icon:"popup.svg"},m("popup")),yE.popupButton),wl(DE,EE({icon:"embed.svg"},m("embed")),yE.embedButton)),wl("div",{className:"embed-options__customise",style:{display:"embed"!==c?"none":""}},wl(Wo,{label:"Width",name:"width",placeholder:"100% (default)",defaultValue:d,onChange:this.record}),wl(Wo,{label:"Height",name:"height",placeholder:"500px (default)",defaultValue:f,onChange:this.record})),wl("div",{className:"embed-options__customise",style:{display:"embed"===c?"none":""}},wl(Ko,{label:"Style",name:"style",options:BE,checked:this.state.style||s,onChange:function(e){return n(e.currentTarget.value)}}),wl(Wo,{label:"Link text",name:"button_text",placeholder:yE.linkText,defaultValue:h,onChange:this.record}))),wl("div",{className:"tf-embed__disclaimer",style:{display:"create"===o?"block":"none"}},yE.disclaimer),wl("input",{type:"hidden",className:"typeform-embed-values",value:JSON.stringify(VE(this.state))})),wl("aside",{className:"tf-embed__banner tf-banner tf-banner--"+o},"create"===o?[wl("img",{className:"tf-banner__logo",src:FE+"assets/images/logo-ochre.svg",alt:"Typeform Logo"}),wl("h3",{className:"tf-banner__title"},yE.banner.create.title)].concat(PE(yE.banner.create.content.map(function(e,t){return wl("p",{className:"tf-banner__content",key:"p_"+t},e)})),[wl("a",{className:"tf-banner__button",href:jE.create,target:"blank"},yE.banner.create.button)]):[wl("img",{className:"tf-banner__logo",src:FE+"assets/images/logo-cyan.svg",alt:"Typeform Logo"}),wl("h3",{className:"tf-banner__title"},yE.banner.embed.title),wl("p",{className:"tf-banner__content"},yE.banner.embed.content),wl("a",{className:"tf-banner__button",href:jE.embed,target:"blank"},yE.banner.embed.button)]))}}]),t}(RE);WE.propTypes={value:LE.object};var qE='<div class="typeform-embed-app loading" style="height:%s"></div>',KE="typeform_embed",zE=typeformObject,YE=zE.userEmail,XE=function(){return document.getElementById(wpActiveEditor)},GE=function(e){return[e.selectionStart,e.selectionEnd]},QE=function(e,t){var n=e.value,r=GE(e),o=TE(r,2),a=o[0],i=o[1];e.value=[n.substr(0,a),t,n.substr(i,n.length)].join("")},$E=function(){var e=420,t=40,n=86;return Math.max(e,Math.min(window.innerHeight-n-2*t,580))},ZE=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{title:"Add a Contact Form",body:[{type:"container",html:qE.replace(/%s/,$E()+"px")}],onopen:function(e){return setTimeout(function(){var n=e.target.$el.context.querySelector(".typeform-embed-app");t.email_notifications||(t.email_notifications=YE),GC.render(wl(WE,{value:t}),n,function(){return n.classList.remove("loading")})},100)},onclose:function(e){var t=e.target.$el.context.querySelector(".mce-last .mce-container-body .mce-container-body");GC.unmountComponentAtNode(t.firstElementChild)},onsubmit:function(t){var n=t.target.$el.context.querySelector(".typeform-embed-values").value,r=wp.shortcode.string({tag:KE,type:"single",content:t.data.innercontent,attrs:JSON.parse(n)});if(e&&!e.hidden)return e.insertContent(r);var o=XE();return QE(o,r)}}};jQuery(function(e){var t=wp.media,n=t.template("editor-tf-banner");wp.mce=wp.mce||{},wp.mce.typeformRender={shortcode_data:{},template:n,View:{template:n,postID:e("#post_ID").val(),initialize:function(e){this.shortcode=e.shortcode,typeformRender.shortcode_data=this.shortcode},getHtml:function(){var e=this.shortcode.attrs.named;return this.template(e)}},getContent:function(){var e=this.shortcode.attrs.named;return e.innercontent=this.shortcode.content,this.template(e)},edit:function(){var e=this.shortcode.attrs.named;this.popupwindow(tinyMCE.activeEditor,e)},popupwindow:function(e,t,n){zo(t,e)}},wp.mce.views.register(KE,wp.mce.typeformRender),e("#add-typeform").on("click",zo)})}();
     5maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},nb={Properties:{},DOMAttributeNamespaces:{xlinkActuate:eb.xlink,xlinkArcrole:eb.xlink,xlinkHref:eb.xlink,xlinkRole:eb.xlink,xlinkShow:eb.xlink,xlinkTitle:eb.xlink,xlinkType:eb.xlink,xmlBase:eb.xml,xmlLang:eb.xml,xmlSpace:eb.xml},DOMAttributeNames:{}};Object.keys(tb).forEach(function(e){nb.Properties[e]=0,tb[e]&&(nb.DOMAttributeNames[e]=tb[e])});var rb=nb,ob=Tu,ab=Su,ib=Bl,lb=By,ub=ns,sb=Dy,cb=$c,pb=vm,db=ab.canUseDOM&&"documentMode"in document&&document.documentMode<=11,fb={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},hb=null,mb=null,vb=null,gb=!1,yb=!1,bb={eventTypes:fb,extractEvents:function(e,t,n,r){if(!yb)return null;var o=t?ib.getNodeFromInstance(t):window;switch(e){case"topFocus":(cb(o)||"true"===o.contentEditable)&&(hb=o,mb=t,vb=null);break;case"topBlur":hb=null,mb=null,vb=null;break;case"topMouseDown":gb=!0;break;case"topContextMenu":case"topMouseUp":return gb=!1,ho(n,r);case"topSelectionChange":if(db)break;case"topKeyDown":case"topKeyUp":return ho(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(yb=!0)}},_b=bb,Cb=ns,Eb={animationName:null,elapsedTime:null,pseudoElement:null};Cb.augmentClass(mo,Eb);var wb=mo,kb=ns,Tb={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};kb.augmentClass(vo,Tb);var Pb=vo,Nb=Ep,Sb={relatedTarget:null};Nb.augmentClass(go,Sb);var Ob=go,Mb=yo,xb=Mb,Ib={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ab={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Db=bo,Rb=Ep,Lb=Mb,Ub=Db,Fb=Np,jb={key:Ub,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Fb,charCode:function(e){return"keypress"===e.type?Lb(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Lb(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};Rb.augmentClass(_o,jb);var Bb=_o,Vb=Ap,Hb={dataTransfer:null};Vb.augmentClass(Co,Hb);var Wb=Co,qb=Ep,Kb=Np,zb={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Kb};qb.augmentClass(Eo,zb);var Yb=Eo,Xb=ns,Gb={propertyName:null,elapsedTime:null,pseudoElement:null};Xb.augmentClass(wo,Gb);var Qb=wo,$b=Ap,Zb={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};$b.augmentClass(ko,Zb);var Jb=ko,e_=Tl,t_=ey,n_=Tu,r_=Bl,o_=wb,a_=Pb,i_=ns,l_=Ob,u_=Bb,s_=Ap,c_=Wb,p_=Yb,d_=Qb,f_=Ep,h_=Jb,m_=ha,v_=Mb,g_={},y_={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};g_[e]=o,y_[r]=o});var b_={},__={eventTypes:g_,extractEvents:function(e,t,n,r){var o=y_[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=i_;break;case"topKeyPress":if(0===v_(n))return null;case"topKeyDown":case"topKeyUp":a=u_;break;case"topBlur":case"topFocus":a=l_;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=s_;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=c_;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=p_;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=o_;break;case"topTransitionEnd":a=d_;break;case"topScroll":a=f_;break;case"topWheel":a=h_;break;case"topCopy":case"topCut":case"topPaste":a=a_}a?void 0:e_("86",e);var i=a.getPooled(o,t,n,r);return n_.accumulateTwoPhaseDispatches(i),i},didPutListener:function(e,t,n){if("onClick"===t&&!Po(e._tag)){var r=To(e),o=r_.getNodeFromInstance(e);b_[r]||(b_[r]=t_.listen(o,"click",m_))}},willDeleteListener:function(e,t){if("onClick"===t&&!Po(e._tag)){var n=To(e);b_[n].remove(),delete b_[n]}}},C_=__,E_=Hl,w_=Ps,k_=vp,T_=yp,P_=jp,N_=Yp,S_=df,O_=Pg,M_=Bl,x_=xg,I_=Ag,A_=Vg,D_=$g,R_=py,L_=Cy,U_=Jy,F_=rb,j_=_b,B_=C_,V_=!1,H_={inject:No},W_=9,q_=So,K_={useCreateElement:!0,useFiber:!1},z_=K_,Y_=65521,X_=Oo,G_=X_,Q_=/\/?>/,$_=/^<\!\-\-/,Z_={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=G_(e);return $_.test(e)?e:e.replace(Q_," "+Z_.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(Z_.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=G_(e);return r===n}},J_=Z_,eC=Tl,tC=Cd,nC=Ml,rC=_l,oC=bh,aC=Bl,iC=q_,lC=z_,uC=Is,sC=cm,cC=J_,pC=Ec,dC=Mv,fC=zc,hC=Xa,mC=Qm,vC=ad,gC=gm,yC=nC.ID_ATTRIBUTE_NAME,bC=nC.ROOT_ATTRIBUTE_NAME,_C=1,CC=9,EC=11,wC={},kC=1,TC=function(){this.rootID=kC++};TC.prototype.isReactComponent={},TC.prototype.render=function(){return this.props.child},TC.isReactTopLevelWrapper=!0;var PC={TopLevelWrapper:TC,_instancesByReactRootID:wC,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return PC.scrollMonitor(r,function(){dC.enqueueElementInternal(e,t,n),o&&dC.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){Uo(t)?void 0:eC("37"),oC.ensureScrollValueMonitoring();var o=mC(e,!1);fC.batchedUpdates(Do,o,t,n,r);var a=o._instance.rootID;return wC[a]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&sC.has(e)?void 0:eC("38"),PC._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){dC.validateCallback(r,"ReactDOM.render"),rC.isValidElement(t)?void 0:eC("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var o,a=rC.createElement(TC,{child:t});if(e){var i=sC.get(e);o=i._processChildContext(i._context)}else o=hC;var l=jo(n);if(l){var u=l._currentElement,s=u.props.child;if(gC(s,t)){var c=l._renderedComponent.getPublicInstance(),p=r&&function(){r.call(c)};return PC._updateRootComponent(l,a,o,n,p),c}PC.unmountComponentAtNode(n)}var d=xo(n),f=d&&!!Io(d),h=Lo(n),m=f&&!l&&!h,v=PC._renderNewRootComponent(a,n,m,o)._renderedComponent.getPublicInstance();return r&&r.call(v),v},render:function(e,t,n){return PC._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){Uo(e)?void 0:eC("40");var t=jo(e);if(!t){Lo(e),1===e.nodeType&&e.hasAttribute(bC);return!1}return delete wC[t._instance.rootID],fC.batchedUpdates(Ro,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,r,o){if(Uo(t)?void 0:eC("41"),r){var a=xo(t);if(cC.canReuseMarkup(e,a))return void aC.precacheNode(n,a);var i=a.getAttribute(cC.CHECKSUM_ATTR_NAME);a.removeAttribute(cC.CHECKSUM_ATTR_NAME);var l=a.outerHTML;a.setAttribute(cC.CHECKSUM_ATTR_NAME,i);var u=e,s=Mo(u,l),c=" (client) "+u.substring(s-20,s+20)+"\n (server) "+l.substring(s-20,s+20);t.nodeType===CC?eC("42",c):void 0}if(t.nodeType===CC?eC("43"):void 0,o.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);tC.insertTreeBefore(t,e,null)}else vC(t,e),aC.precacheNode(n,t.firstChild)}},NC=PC,SC="15.4.2",OC=hm,MC=Bo,xC=Tl,IC=Bl,AC=cm,DC=MC,RC=Vo,LC=NC,UC=LC.renderSubtreeIntoContainer,FC=Bl,jC=H_,BC=NC,VC=Ec,HC=zc,WC=SC,qC=RC,KC=MC,zC=UC;jC.inject();var YC={findDOMNode:qC,render:BC.render,unmountComponentAtNode:BC.unmountComponentAtNode,version:WC,unstable_batchedUpdates:HC.batchedUpdates,unstable_renderSubtreeIntoContainer:zC};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:FC.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=KC(e)),e?FC.getNodeFromInstance(e):null}},Mount:BC,Reconciler:VC});var XC=YC,GC=XC,QC=Ho(function(e,t){var n=Object.prototype.hasOwnProperty,r=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}();t.arrayToObject=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},t.merge=function(e,r,o){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];e[r]=!0}return e}if("object"!=typeof e)return[e].concat(r);var a=e;return Array.isArray(e)&&!Array.isArray(r)&&(a=t.arrayToObject(e,o)),Array.isArray(e)&&Array.isArray(r)?(r.forEach(function(r,a){n.call(e,a)?e[a]&&"object"==typeof e[a]?e[a]=t.merge(e[a],r,o):e.push(r):e[a]=r}),e):Object.keys(r).reduce(function(e,n){var a=r[n];return Object.prototype.hasOwnProperty.call(e,n)?e[n]=t.merge(e[n],a,o):e[n]=a,e},a)},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),n="",o=0;o<t.length;++o){var a=t.charCodeAt(o);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?n+=t.charAt(o):a<128?n+=r[a]:a<2048?n+=r[192|a>>6]+r[128|63&a]:a<55296||a>=57344?n+=r[224|a>>12]+r[128|a>>6&63]+r[128|63&a]:(o+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(o)),n+=r[240|a>>18]+r[128|a>>12&63]+r[128|a>>6&63]+r[128|63&a])}return n},t.compact=function(e,n){if("object"!=typeof e||null===e)return e;var r=n||[],o=r.indexOf(e);if(o!==-1)return r[o];if(r.push(e),Array.isArray(e)){for(var a=[],i=0;i<e.length;++i)e[i]&&"object"==typeof e[i]?a.push(t.compact(e[i],r)):"undefined"!=typeof e[i]&&a.push(e[i]);return a}var l=Object.keys(e);return l.forEach(function(n){e[n]=t.compact(e[n],r)}),e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null!==e&&"undefined"!=typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}}),$C=String.prototype.replace,ZC=/%20/g,JC={default:"RFC3986",formatters:{RFC1738:function(e){return $C.call(e,ZC,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"},eE=QC,tE=JC,nE={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},rE=Date.prototype.toISOString,oE={delimiter:"&",encode:!0,encoder:eE.encode,serializeDate:function(e){return rE.call(e)},skipNulls:!1,strictNullHandling:!1},aE=function e(t,n,r,o,a,i,l,u,s,c,p){var d=t;if("function"==typeof l)d=l(n,d);else if(d instanceof Date)d=c(d);else if(null===d){if(o)return i?i(n):n;d=""}if("string"==typeof d||"number"==typeof d||"boolean"==typeof d||eE.isBuffer(d))return i?[p(i(n))+"="+p(i(d))]:[p(n)+"="+p(String(d))];var f=[];if("undefined"==typeof d)return f;var h;if(Array.isArray(l))h=l;else{var m=Object.keys(d);h=u?m.sort(u):m}for(var v=0;v<h.length;++v){var g=h[v];a&&null===d[g]||(f=Array.isArray(d)?f.concat(e(d[g],r(n,g),r,o,a,i,l,u,s,c,p)):f.concat(e(d[g],n+(s?"."+g:"["+g+"]"),r,o,a,i,l,u,s,c,p)))}return f},iE=function(e,t){var n=e,r=t||{},o="undefined"==typeof r.delimiter?oE.delimiter:r.delimiter,a="boolean"==typeof r.strictNullHandling?r.strictNullHandling:oE.strictNullHandling,i="boolean"==typeof r.skipNulls?r.skipNulls:oE.skipNulls,l="boolean"==typeof r.encode?r.encode:oE.encode,u=l?"function"==typeof r.encoder?r.encoder:oE.encoder:null,s="function"==typeof r.sort?r.sort:null,c="undefined"!=typeof r.allowDots&&r.allowDots,p="function"==typeof r.serializeDate?r.serializeDate:oE.serializeDate;if("undefined"==typeof r.format)r.format=tE.default;else if(!Object.prototype.hasOwnProperty.call(tE.formatters,r.format))throw new TypeError("Unknown format option provided.");var d,f,h=tE.formatters[r.format];if(null!==r.encoder&&void 0!==r.encoder&&"function"!=typeof r.encoder)throw new TypeError("Encoder has to be a function.");"function"==typeof r.filter?(f=r.filter,n=f("",n)):Array.isArray(r.filter)&&(f=r.filter,d=f);var m=[];if("object"!=typeof n||null===n)return"";var v;v=r.arrayFormat in nE?r.arrayFormat:"indices"in r?r.indices?"indices":"repeat":"indices";var g=nE[v];d||(d=Object.keys(n)),s&&d.sort(s);for(var y=0;y<d.length;++y){var b=d[y];i&&null===n[b]||(m=m.concat(aE(n[b],b,g,a,i,u,f,s,c,p,h)))}return m.join(o)},lE=QC,uE=Object.prototype.hasOwnProperty,sE={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:lE.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},cE=function(e,t){for(var n={},r=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<r.length;++o){var a,i,l=r[o],u=l.indexOf("]=")===-1?l.indexOf("="):l.indexOf("]=")+1;u===-1?(a=t.decoder(l),i=t.strictNullHandling?null:""):(a=t.decoder(l.slice(0,u)),i=t.decoder(l.slice(u+1))),uE.call(n,a)?n[a]=[].concat(n[a]).concat(i):n[a]=i}return n},pE=function e(t,n,r){if(!t.length)return n;var o,a=t.shift();if("[]"===a)o=[],o=o.concat(e(t,n,r));else{o=r.plainObjects?Object.create(null):{};var i="["===a[0]&&"]"===a[a.length-1]?a.slice(1,a.length-1):a,l=parseInt(i,10);!isNaN(l)&&a!==i&&String(l)===i&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(o=[],o[l]=e(t,n,r)):o[i]=e(t,n,r)}return o},dE=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^\.\[]+)/g,"[$1]"):e,o=/^([^\[\]]*)/,a=/(\[[^\[\]]*\])/g,i=o.exec(r),l=[];if(i[1]){if(!n.plainObjects&&uE.call(Object.prototype,i[1])&&!n.allowPrototypes)return;l.push(i[1])}for(var u=0;null!==(i=a.exec(r))&&u<n.depth;)u+=1,(n.plainObjects||!uE.call(Object.prototype,i[1].replace(/\[|\]/g,""))||n.allowPrototypes)&&l.push(i[1]);return i&&l.push("["+r.slice(i.index)+"]"),pE(l,t,n)}},fE=function(e,t){var n=t||{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.delimiter="string"==typeof n.delimiter||lE.isRegExp(n.delimiter)?n.delimiter:sE.delimiter,n.depth="number"==typeof n.depth?n.depth:sE.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:sE.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.decoder="function"==typeof n.decoder?n.decoder:sE.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:sE.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:sE.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:sE.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:sE.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:sE.strictNullHandling,""===e||null===e||"undefined"==typeof e)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof e?cE(e,n):e,o=n.plainObjects?Object.create(null):{},a=Object.keys(r),i=0;i<a.length;++i){var l=a[i],u=dE(l,r[l],n);o=lE.merge(o,u,n)}return lE.compact(o)},hE=iE,mE=fE,vE=JC,gE={formats:vE,parse:mE,stringify:hE},yE={windowTitle:"Add a Contact Form",createDescription:"Edit fields below. We gave you a head start with some sample text.",addDescription:"Already have a typeform? Copy and paste the URL here",createTab:"Build a basic typeform",embedTab:"Embed an existing typeform",nameLabel:"Name field",emailLabel:"Email field",messageLabel:"Message field",nameField:"Hey there! What's your name?",emailField:"Great! And your email?",messageField:"Thanks! How can we help?",urlField:"http://example.typeform.com/to/Z6Agtz",responsesFieldset:"Responses",responsesDesc:"Email where you'll receive your responses",responsesField:"your.email@example.com",disclaimer:"A contact form is a great start. If you want to add video or images to your typeform, match your brand colors, and customize it even more, then you'll need to set up a Typeform account.",embedOptions:"Embedding options",embedButton:"Embed",popupButton:"Popup",drawerButton:"Drawer",linkLabel:"Link",buttonLabel:"Button",banner:{create:{title:"Think that's good?",content:["See what else you can do with Typeform.","Sign up for free and start collecting data and information conversationally"],button:"Get Started"},embed:{title:"Want to become a Typeform master?",button:"Yeah, baby!"}},linkText:"Launch me!"},bE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_E=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),CE=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},EE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wE=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},kE=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},TE=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),PE=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},NE=El;Wo.propTypes={label:NE.string,name:NE.string,placeholder:NE.string,inputType:NE.string};var SE=El;qo.propTypes={title:SE.string,visible:SE.bool,className:SE.string,children:SE.oneOfType([SE.arrayOf(SE.node),SE.node])},qo.defaultProps={visible:!0,className:""};var OE=El;Ko.propTypes={label:OE.string,name:OE.string,options:OE.array,checked:OE.string,onChange:OE.func};var ME=kl,xE=El,IE=typeformObject,AE=IE.pluginRoot,DE=function(e){function t(e){bE(this,t);var n=kE(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setActive=n.setActive.bind(n),n}return wE(t,e),_E(t,[{key:"setActive",value:function(e){var t=this.props.isActive?"#2c82bd":"#aaa",n=e.currentTarget.contentDocument;n.querySelector("#form-bg").style.fill=t}},{key:"componentDidUpdate",value:function(){this.setActive({currentTarget:this.icon})}},{key:"shouldComponentUpdate",value:function(e){return e.isActive!==this.props.isActive}},{key:"render",value:function(){var e=this,t=this.props,n=t.icon,r=t.children,o=t.isActive,a=t.onClick;return wl("div",{className:"embed-option "+(o?"is-active":""),role:"radio","aria-checked":o,tabIndex:o?"0":"-1"},wl("button",{className:"embed-option__button",type:"button",onClick:a},wl("div",{className:"embed-option__cover"}),wl("object",{data:AE+"/assets/images/"+n,onLoad:this.setActive,ref:function(t){return e.icon=t}})),wl("div",{className:"embed-option__label",onClick:a},r))}}]),t}(ME);DE.propTypes={isActive:xE.bool,icon:xE.string,children:xE.string,onClick:xE.oneOfType([xE.arrayOf(xE.node),xE.node])};var RE=kl,LE=El,UE=typeformObject,FE=UE.pluginRoot,jE={create:"https://admin.typeform.com/signup?utm_source=wp&utm_medium=display&utm_campaign=wp_plugin&utm_content=cta_signup",embed:"https://admin.typeform.com/crashcourse#/section/beginner?utm_source=wp&utm_medium=display&utm_campaign=wp_plugin&utm_content=cta_crashcourse"},BE=[["link",yE.linkLabel],["button",yE.buttonLabel]],VE=function(e){var t=["activeTab","name","message","email","email_notifications"],n="create"===e.activeTab,r="embed"===e.type,o=Object.keys(e).reduce(function(o,a){var i=e[a];switch(a){case"url":n||(o[a]=i);break;case"width":case"height":r&&(o[a]=i);break;case"style":case"button_text":r||(o[a]=i);break;default:if(t.indexOf(a)!==-1)break;o[a]=i}return o},{});return n&&!function(){var t={},n=["name","email","message","email_notifications"];n.forEach(function(n){return"email_notifications"===n?t[n]=e[n]:void(yE.hasOwnProperty(n+"Field")&&(e[n]||(e[n]=yE[n+"Field"]),t[n]=e[n]))}),o.builder=gE.stringify(t)}(),o},HE=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText},WE=function(e){function t(e){bE(this,t);var n=kE(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=Object.assign({},{type:"drawer",activeTab:e.value.url?"add":"create"},n.processValues(e)),n.setTab=n.setTab.bind(n),n.setEmbedType=n.setEmbedType.bind(n),n.setLinkStyle=n.setLinkStyle.bind(n),n.record=n.record.bind(n),n}return wE(t,e),_E(t,[{key:"processValues",value:function(e){var t=e.value,n=t.builder?HE(t.builder):"",r=Object.assign({},t,gE.parse(n));return delete r.builder,r}},{key:"setTab",value:function(e){return this.setState({activeTab:e})}},{key:"setEmbedType",value:function(e){return this.setState({type:e})}},{key:"setLinkStyle",value:function(e){return this.setState({style:e})}},{key:"record",value:function(e){return this.setState(CE({},e.currentTarget.name,e.currentTarget.value))}},{key:"render",value:function(){var e=this.setTab,t=this.setEmbedType,n=this.setLinkStyle,r=this.state,o=r.activeTab,a=r.name,i=r.email,l=r.message,u=r.email_notifications,s=r.style,c=r.type,p=r.url,d=r.width,f=r.height,h=r.button_text,m=function(e){return{isActive:c===e,onClick:function(){return t(e)}}};return wl("div",{className:"typeform-embed-widget tf-embed"},wl("form",{className:"tf-embed__form",onSubmit:this.onSubmit},wl("div",{className:"tf-embed__tab-buttons"},wl("button",{className:"tf-embed__tab-button "+("create"===o?"is-active":""),onClick:function(){return e("create")},type:"button"},yE.createTab),wl("button",{className:"tf-embed__tab-button "+("add"===o?"is-active":""),onClick:function(){return e("add")},type:"button"},yE.embedTab)),wl(qo,{visible:"create"===o,className:"tf-embed__tab"},wl("div",{className:"tf-embed__description"},yE.createDescription),wl(Wo,{label:yE.nameLabel,name:"name",placeholder:yE.nameField,defaultValue:a||yE.nameField,onChange:this.record}),wl(Wo,{label:yE.emailLabel,name:"email",placeholder:yE.emailField,defaultValue:i||yE.emailField,onChange:this.record}),wl(Wo,{label:yE.messageLabel,name:"message",placeholder:yE.messageField,defaultValue:l||yE.messageField,onChange:this.record})),wl(qo,{visible:"add"===o,className:"tf-embed__tab"},wl("div",{className:"tf-embed__description"},yE.addDescription),wl(Wo,{label:"URL",name:"url",placeholder:yE.urlField,defaultValue:p,onChange:this.record})),wl(qo,{title:yE.responsesFieldset,visible:"create"===o,className:"responses-options"},wl("div",{className:"tf-form-group__description"},yE.responsesDesc),wl(Wo,{label:"Email",name:"email_notifications",placeholder:yE.responsesField,inputType:"email",defaultValue:u,onChange:this.record})),wl(qo,{title:yE.embedOptions,className:"embed-options"},wl("div",{className:"embed-options__type",role:"radiogroup"},wl(DE,EE({icon:"drawer.svg"},m("drawer")),yE.drawerButton),wl(DE,EE({icon:"popup.svg"},m("popup")),yE.popupButton),wl(DE,EE({icon:"embed.svg"},m("embed")),yE.embedButton)),wl("div",{className:"embed-options__customise",style:{display:"embed"!==c?"none":""}},wl(Wo,{label:"Width",name:"width",placeholder:"100% (default)",defaultValue:d,onChange:this.record}),wl(Wo,{label:"Height",name:"height",placeholder:"500px (default)",defaultValue:f,onChange:this.record})),wl("div",{className:"embed-options__customise",style:{display:"embed"===c?"none":""}},wl(Ko,{label:"Style",name:"style",options:BE,checked:this.state.style||s,onChange:function(e){return n(e.currentTarget.value)}}),wl(Wo,{label:"Link text",name:"button_text",placeholder:yE.linkText,defaultValue:h,onChange:this.record}))),wl("div",{className:"tf-embed__disclaimer",style:{display:"create"===o?"block":"none"}},yE.disclaimer),wl("input",{type:"hidden",className:"typeform-embed-values",value:JSON.stringify(VE(this.state))})),wl("aside",{className:"tf-embed__banner tf-banner tf-banner--"+o},"create"===o?[wl("img",{className:"tf-banner__logo",src:FE+"assets/images/logo-ochre.svg",alt:"Typeform Logo"}),wl("h3",{className:"tf-banner__title"},yE.banner.create.title)].concat(PE(yE.banner.create.content.map(function(e,t){return wl("p",{className:"tf-banner__content",key:"p_"+t},e)})),[wl("a",{className:"tf-banner__button",href:jE.create,target:"blank"},yE.banner.create.button)]):[wl("img",{className:"tf-banner__logo",src:FE+"assets/images/logo-cyan.svg",alt:"Typeform Logo"}),wl("h3",{className:"tf-banner__title"},yE.banner.embed.title),wl("p",{className:"tf-banner__content"},yE.banner.embed.content),wl("a",{className:"tf-banner__button",href:jE.embed,target:"blank"},yE.banner.embed.button)]))}}]),t}(RE);WE.propTypes={value:LE.object};var qE='<div class="typeform-embed-app loading" style="height:%s"></div>',KE="typeform_embed",zE=typeformObject,YE=zE.userEmail,XE=function(){return document.getElementById(wpActiveEditor)},GE=function(e){return[e.selectionStart,e.selectionEnd]},QE=function(e,t){var n=e.value,r=GE(e),o=TE(r,2),a=o[0],i=o[1];e.value=[n.substr(0,a),t,n.substr(i,n.length)].join("")},$E=function(){var e=420,t=40,n=86;return Math.max(e,Math.min(window.innerHeight-n-2*t,580))},ZE=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{title:"Add a Contact Form",body:[{type:"container",html:qE.replace(/%s/,$E()+"px")}],onopen:function(e){return setTimeout(function(){var n=e.target.$el.context.querySelector(".typeform-embed-app");t.email_notifications||(t.email_notifications=YE),GC.render(wl(WE,{value:t}),n,function(){return n.classList.remove("loading")})},100)},onclose:function(e){var t=e.target.$el.context.querySelector(".mce-last .mce-container-body .mce-container-body");GC.unmountComponentAtNode(t.firstElementChild)},onsubmit:function(t){var n=t.target.$el.context.querySelector(".typeform-embed-values").value,r=wp.shortcode.string({tag:KE,type:"single",content:t.data.innercontent,attrs:JSON.parse(n)});if(e&&!e.hidden)return e.insertContent(r);var o=XE();return QE(o,r)}}};jQuery(function(e){var t=wp.media,n=t.template("editor-tf-banner");wp.mce=wp.mce||{},wp.mce.typeformRender={shortcode_data:{},template:n,View:{template:n,postID:e("#post_ID").val(),initialize:function(e){this.shortcode=e.shortcode,typeformRender.shortcode_data=this.shortcode},getHtml:function(){var e=this.shortcode.attrs.named;return this.template(e)}},getContent:function(){var e=this.shortcode.attrs.named;return e.innercontent=this.shortcode.content,this.template(e)},edit:function(){var e=this.shortcode.attrs.named;this.popupwindow(tinyMCE.activeEditor,e)},popupwindow:function(e,t,n){zo(t,e)}},wp.mce.views.register(KE,wp.mce.typeformRender),e("#add-typeform").on("click",zo)})}();
  • typeform/trunk/index.php

    r1600571 r1600716  
    55Plugin URI:  http://typeform.com
    66Description: Build beautiful, interactive, mobile-ready forms, surveys, and questionnaires without code.
    7 Version:     0.7.1
     7Version:     0.7.2
    88Author:      Typeform
    99Author URI:  http://typeform.com
  • typeform/trunk/readme.txt

    r1600571 r1600716  
    7171== Changelog ==
    7272
     73= 0.7.2 =
     74* Added missing response email to contact form configuration
     75
    7376= 0.7.1 =
    7477* Added missing svg's in the repo
Note: See TracChangeset for help on using the changeset viewer.