PageSourceSearch

https://us.fusionmap.com/_next/static/chunks/8785.d19550740790a944.js

js fusionmap.com collected 2026-10-01 01:59:27 UTC 23,320 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="02f63d50-6166-4a9a-93bb-99755bdab17d",e._sentryDebugIdIdentifier="sentry-dbid-02f63d50-6166-4a9a-93bb-99755bdab17d")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8785],{28785:(e,t,n)=>{n.r(t),n.d(t,{default:()=>z});var a=n(59524),l=n(44212),r=n(27196),i=n(22055),s=n(61371),o=n(14232),c=n(44501),m=n(40670),p=n(97),d=function(e){var t=o.useRef(e);return(0,p.A)(function(){t.current=e}),t},u=function(e,t){"function"==typeof e?e(t):e.current=t},h=function(e,t){var n=o.useRef();return o.useCallback(function(a){e.current=a,n.current&&u(n.current,null),n.current=t,t&&u(t,a)},[t])},f={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},v=function(e){Object.keys(f).forEach(function(t){e.style.setProperty(t,f[t],"important")})},b=null,E=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},y=function(){},g=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],x=!!document.documentElement.currentStyle,w=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=g.reduce(function(e,n){return e[n]=t[n],e},{}),a=n.boxSizing;if(""===a)return null;x&&"border-box"===a&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var l=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),r=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:l,borderSize:r}};function N(e,t,n){var a=d(n);o.useLayoutEffect(function(){var n=function(e){return a.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var k=function(e,t){N(document.body,"reset",function(n){e.current.form===n.target&&t(n)})},P=function(e){N(window,"resize",e)},C=function(e){N(document.fonts,"loadingdone",e)},O=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],A=o.forwardRef(function(e,t){var n=e.cacheMeasurements,a=e.maxRows,l=e.minRows,r=e.onChange,i=void 0===r?y:r,s=e.onHeightChange,p=void 0===s?y:s,d=(0,m.A)(e,O),u=void 0!==d.value,f=o.useRef(null),g=h(f,t),x=o.useRef(0),N=o.useRef(),A=function(){var e=f.current,t=n&&N.current?N.current:w(e);if(t){N.current=t;var r,i,s,o,c,m,d,u,h,y,g,k=(r=e.value||e.placeholder||"x",void 0===(i=l)&&(i=1),void 0===(s=a)&&(s=1/0),b||((b=document.createElement("textarea")).setAttribute("tabindex","-1"),b.setAttribute("aria-hidden","true"),v(b)),null===b.parentNode&&document.body.appendChild(b),o=t.paddingSize,c=t.borderSize,d=(m=t.sizingStyle).boxSizing,Object.keys(m).forEach(function(e){b.style[e]=m[e]}),v(b),b.value=r,u=E(b,t),b.value=r,u=E(b,t),b.value="x",y=(h=b.scrollHeight-o)*i,"border-box"===d&&(y=y+o+c),u=Math.max(y,u),g=h*s,"border-box"===d&&(g=g+o+c),[u=Math.min(g,u),h]),P=k[0],C=k[1];x.current!==P&&(x.current=P,e.style.setProperty("height",P+"px","important"),p(P,{rowHeight:C}))}};return o.useLayoutEffect(A),k(f,function(){if(!u){var e=f.current.value;requestAnimationFrame(function(){var t=f.current;t&&e!==t.value&&A()})}}),P(A),C(A),o.createElement("textarea",(0,c.A)({},d,{onChange:function(e){u||A(),i(e)},ref:g}))}),S=n(97853),F=n(93551),_=n.n(F);n(2456);var B=n(39939),T=n.n(B),R=n(52411),I=function(e){(0,r.A)(c,e);var t,n=(t=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,s.A)(c);return e=t?Reflect.construct(n,arguments,(0,s.A)(this).constructor):n.apply(this,arguments),(0,i.A)(this,e)});function c(e){var t;return(0,a.A)(this,c),(t=n.call(this,e)).state={element:t.props.element,data:t.props.data,dirty:!1},t}return(0,l.A)(c,[{key:"_setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,a=e.replace(/[^A-Z0-9]+/ig,"_").toLowerCase(),l=new Set(t.filter(function(e,t){return t!==n&&e&&e.value}).map(function(e){return e.value}));if(!l.has(a))return a;for(var r=1,i="".concat(a,"_").concat(r);l.has(i);)r+=1,i="".concat(a,"_").concat(r);return i}},{key:"editOption",value:function(e,t){var n=this.state.element,a=this._setValue(t.target.value,n.options,e);n.options[e].text=t.target.value,n.options[e].value=a,this.setState({element:n,dirty:!0})}},{key:"editValue",value:function(e,t){var n=this.state.element,a=""===t.target.value?this._setValue(n.options[e].text,n.options,e):t.target.value;n.options[e].value=a,this.setState({element:n,dirty:!0})}},{key:"editOptionCorrect",value:function(e,t){var n=this.state.element;n.options[e].hasOwnProperty("correct")?delete n.options[e].correct:n.options[e].correct=!0,this.setState({element:n}),this.props.updateElement.call(this.props.preview,n)}},{key:"updateOption",value:function(){var e=this.state.element;this.state.dirty&&(this.props.updateElement.call(this.props.preview,e),this.setState({dirty:!1}))}},{key:"addOption",value:function(e){var t=this.state.element,n=t.element.toLowerCase();t.options.splice(e+1,0,{value:"",text:"",key:"".concat(n,"_option_").concat(T().uuid())}),this.props.updateElement.call(this.props.preview,t)}},{key:"removeOption",value:function(e){var t=this.state.element;t.options.splice(e,1),this.props.updateElement.call(this.props.preview,t)}},{key:"render",value:function(){var e=this;this.state.dirty&&(this.state.element.dirty=!0);var t=Array.isArray(this.props.validationIssues)?this.props.validationIssues:[],n={};return t.filter(function(e){return"option"===e.kind&&Array.isArray(e.optionIndexes)}
1).forEach(function(e){e.optionIndexes.forEach(function(t){"number"!=typeof t||n[t]||(n[t]=e.message)})}),o.createElement("div",{className:"dynamic-option-list"},o.createElement("table",{className:"table table-fixed"},o.createElement("thead",null,o.createElement("tr",{className:"text-left"},o.createElement("th",{className:"font-normal w-5/6"},o.createElement(R.A,{id:"options"})),o.createElement("th",{className:"font-normal w-1/6"}))),o.createElement("tbody",null,this.props.element.options.map(function(t,a){var l="edit_".concat(t.key),r=n[a],i=r?"".concat(l,"_error"):void 0;return o.createElement("tr",{key:l},o.createElement("td",null,o.createElement("div",null,o.createElement("input",{tabIndex:a+1,className:"input w-full ".concat(r?"input-error":""),type:"text",name:"text_".concat(a),placeholder:"Option text",value:t.text,"aria-invalid":!!r,"aria-describedby":i,onBlur:e.updateOption.bind(e),onChange:e.editOption.bind(e,a)}),r&&o.createElement("div",{id:i,className:"text-error text-xs mt-1"},r))),o.createElement("td",null,o.createElement("div",{className:"flex gap-2"},o.createElement("button",{onClick:e.addOption.bind(e,a),className:"btn bg-tt-blue btn-sm"},o.createElement("i",{className:"fas fa-plus text-white"})),a>0&&o.createElement("button",{onClick:e.removeOption.bind(e,a),className:"btn bg-gray-200 btn-sm"},o.createElement("i",{className:"fas fa-minus"})))))}))))}}]),c}(o.Component);I.defaultProps={validationIssues:[]};var V=n(23041),z=function(e){(0,r.A)(c,e);var t,n=(t=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,s.A)(c);return e=t?Reflect.construct(n,arguments,(0,s.A)(this).constructor):n.apply(this,arguments),(0,i.A)(this,e)});function c(e){var t;return(0,a.A)(this,c),(t=n.call(this,e)).state={element:t.props.element,data:t.props.data,dirty:!1},t}return(0,l.A)(c,[{key:"toggleRequired",value:function(){}},{key:"editElementProp",value:function(e,t,n){var a=this,l=this.state.element,r=n.target[t];"step"===e&&"value"===t&&0>=parseInt(r,10)&&(r=1),l[e]=r,this.setState({element:l,dirty:!0},function(){"checked"===t&&a.updateElement()})}},{key:"onEditorStateChange",value:function(e,t,n){var a=_()((0,S.convertToRaw)(n.getCurrentContent())).replace(/<p>/g,"").replace(/<\/p>/g,"").replace(/&nbsp;/g," ").replace(/(?:\r\n|\r|\n)/g," "),l=this.state.element;l[t]=a,this.setState({element:l,dirty:!0})}},{key:"updateElement",value:function(){var e=this.state.element;this.state.dirty&&(this.props.updateElement.call(this.props.preview,e),this.setState({dirty:!1}))}},{key:"convertFromHTML",value:function(e){var t=(0,S.convertFromHTML)(e);if(!t.contentBlocks||!t.contentBlocks.length)return S.EditorState.createEmpty();var n=S.ContentState.createFromBlockArray(t);return S.EditorState.createWithContent(n)}},{key:"addOptions",value:function(){var e=this,t=document.getElementById("optionsApiUrl").value;t&&(0,V.J)(t).then(function(t){e.props.element.options=[];var n=e.props.element.options;t.forEach(function(e){e.key=T().uuid(),n.push(e)});var a=e.state.element;e.setState({element:a,dirty:!0})})}},{key:"render",value:function(){this.state.dirty&&(this.props.element.dirty=!0);var e=!!this.props.element.hasOwnProperty("required")&&this.props.element.required,t=!!this.props.element.hasOwnProperty("readOnly")&&this.props.element.readOnly,n=!!this.props.element.hasOwnProperty("defaultToday")&&this.props.element.defaultToday,a=!!this.props.element.hasOwnProperty("showTimeSelect")&&this.props.element.showTimeSelect,l=!!this.props.element.hasOwnProperty("showTimeSelectOnly")&&this.props.element.showTimeSelectOnly,r=!!this.props.element.hasOwnProperty("showTimeInput")&&this.props.element.showTimeInput,i=!!this.props.element.hasOwnProperty("inline")&&this.props.element.inline,s=!!this.props.element.hasOwnProperty("center")&&this.props.element.center,c=this.props.element,m=c.canHaveDisplayHorizontal,p=c.canHaveOptionCorrect,d=c.canHaveOptionValue,u="Image"===this.state.element.element||"Camera"===this.state.element.element,h=this.props.files.length?this.props.files:[];(h.length<1||h.length>0&&""!==h[0].id)&&h.unshift({id:"",file_name:""}),this.props.element.hasOwnProperty("content")&&this.convertFromHTML(this.props.element.content),this.props.element.hasOwnProperty("label")&&this.convertFromHTML(this.props.element.label);var f=Array.isArray(this.props.validationIssues)?this.props.validationIssues:[],v=f.filter(function(e){return"label"===e.kind}).map(function(e){return e.message}).filter(function(e,t,n){return e&&n.indexOf(e)===t})[0]||"",b=!!v;return o.createElement("div",{className:"flex flex-col gap-4"},o.createElement("div",{className:"flex items-center justify-between mb-2"},o.createElement("div",{className:"text-lg font-bold"},this.props.element.text),o.createElement("i",{className:"fas fa-times cursor-pointer text-lg",onClick:this.props.manualEditModeOff})),this.props.element.hasOwnProperty("content")&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text"},o.createElement(R.A,{id:"text-to-display"}),":"),o.createElement("input",{type:"text",className:"input w-full",defaultValue:this.props.element.content,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"content","value")})),this.props.element.hasOwnProperty("file_path")&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",htmlFor:"fileSelect"},o.createElement(R.A,{id:"choose-file"}),":"),o.createElement("select",{id:"fileSelect",className:"select",defaultValue:this.props.element.file_path,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"file_path","value")},h.map(function(e){var t="file_".concat(e.id);return o.createElement("option",{value:e.id,key:t},e.file_name)}))),this.props.element.hasOwnProperty("href")&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",htmlFor:"link"},o.createElement(R.A,{id:"Link"}),":"),o.createElement("input",{type:"text",className:"input w-full",defaultValue:this.props.element.href,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"href","value")})),this.props.element.hasOwnProperty("label")&&o.createElement("div",{className:"flex flex-col gap-4"},o.createElement("div",{className:"flex flex-col gap-1"},o.createElement("label",{className:"label-text"},o.createElement(R.A,{id:"display-label"})),o.createElement("input",{type:"text",className:"input w-full ".concat(b?"input-error border-red-500 focus:border-red-500 focus:outline-red-500":""),defaultValue:this.props.element.label,"aria-invalid":b,"aria-describedby":b?"rfb-label-validation-message":void 0,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"label","value")}),b&&o.createElement("div",{id:"rfb-label-validation-message",className:"text-error text-xs",role:"alert"},v)),o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"is-required",className:"checkbox checkbox-sm",type:"checkbox",checked:e,value:!0,onChange:this.editElementProp.bind(this,"required","checked")}),o.createElement("label",{className:"label-text",htmlFor:"is-required"},o.createElement(R.A,{id:"required"}))),this.props.element.hasOwnProperty("readOnly")&&o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"is-read-only",className:"checkbox checkbox-sm",type:"checkbox",checked:t,value:!0,onChange:this.editElementProp.bind(this,"readOnly","checked")}),o.createElement("label",{className:"label-text",htmlFor:"is-read-only"},o.createElement(R.A,{id:"read-only"}))),this.props.element.hasOwnProperty("defaultToday")&&o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"is-default-to-today",className:"checkbox checkbox-sm",type:"checkbox",checked:n,value:!0,onChange:this.editElementProp.bind(this,"defaultToday","checked")}),o.createElement("label",{className:"label-text",htmlFor:"is-default-to-today"},o.createElement(R.A,{id:"default-to-today"}),"?")),this.props.element.hasOwnProperty("showTimeSelect")&&o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"show-time-select",className:"checkbox checkbox-sm",type:"checkbox",checked:a,value:!0,onChange:this.editElementProp.bind(this,"showTimeSelect","checked")}),o.createElement("label",{className:"label-text",htmlFor:"show-time-select"},o.createElement(R.A,{id:"show-time-select"}),"?")),a&&this.props.element.hasOwnProperty("showTimeSelectOnly")&&o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"show-time-select-only",className:"checkbox checkbox-sm",type:"checkbox",checked:l,value:!0,onChange:this.editElementProp.bind(this,"showTimeSelectOnly","checked")}),o.createElement("label",{className:"label-text",htmlFor:"show-time-select-only"},o.createElement(R.A,{id:"show-time-select-only"}),"?")),this.props.element.hasOwnProperty("showTimeInput")&&o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"show-time-input",className:"checkbox checkbox-sm",type:"checkbox",checked:r,value:!0,onChange:this.editElementProp.bind(this,"showTimeInput","checked")}),o.createElement("label",{className:"label-text",htmlFor:"show-time-input"},o.createElement(R.A,{id:"show-time-input"}),"?")),("RadioButtons"===this.state.element.element||"Checkboxes"===this.state.element.element)&&m&&o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"display-horizontal",className:"checkbox checkbox-sm",type:"checkbox",checked:i,value:!0,onChange:this.editElementProp.bind(this,"inline","checked")}),o.createElement("label",{className:"label-text",htmlFor:"display-horizontal"},o.createElement(R.A,{id:"display-horizontal"})))),this.props.element.hasOwnProperty("src")&&o.createElement("div",null,o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",htmlFor:"srcInput"},o.createElement(R.A,{id:"link-to"}),":"),o.createElement("input",{id:"srcInput",type:"text",className:"form-control",defaultValue:this.props.element.src,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"src","value")}))),u&&o.createElement("div",null,o.createElement("div",{className:"form-group"},o.createElement("div",{className:"flex gap-2"},o.createElement("input",{id:"do-center",className:"checkbox checkbox-sm",type:"checkbox",checked:s,value:!0,onChange:this.editElementProp.bind(this,"center","checked")}),o.createElement("label",{className:"label-text",htmlFor:"do-center"},o.createElement(R.A,{id:"center"}),"?"))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-3"},o.createElement("label",{className:"label-text",htmlFor:"elementWidth"},o.createElement(R.A,{id:"width"}),":"),o.createElement("input",{id:"elementWidth",type:"text",className:"form-control",defaultValue:this.props.element.width,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"width","value")})),o.createElement("div",{className:"col-sm-3"},o.createElement("label",{className:"label-text",htmlFor:"elementHeight"},o.createElement(R.A,{id:"height"}),":"),o.createElement("input",{id:"elementHeight",type:"text",className:"form-control",defaultValue:this.props.element.height,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"height","value")})))),"FileUpload"===this.state.element.element&&o.createElement("div",null,o.createElement("div",{className:"flex flex-col"},o.createElement("label",{className:"label-text",htmlFor:"fileType"},o.createElement(R.A,{id:"choose-file-type"}),":"),o.createElement("select",{id:"fileType",className:"select w-full",onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"fileType","value")},[{type:"image, application/pdf, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, video/mp4,video/x-m4v,video/*",typeName:"All File Type"},{type:"image",typeName:"Image"},{type:"application/pdf",typeName:"PDF"},{type:"application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document",typeName:"Word"},{type:"application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",typeName:"Excel"},{type:"application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation",typeName:"Powerpoint"},{type:"video/mp4,video/x-m4v,video/*",typeName:"Videos"}].map(function(e,t){return o.createElement("option",{value:e.type,key:t},e.typeName)})))),"Signature"===this.state.element.element&&this.props.element.readOnly&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",htmlFor:"variableKey"},o.createElement(R.A,{id:"variable-key"}),":"),o.createElement("input",{id:"variableKey",type:"text",className:"form-control",defaultValue:this.props.element.variableKey,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"variableKey","value")}),o.createElement("p",{className:"help-block"},o.createElement(R.A,{id:"variable-key-desc"}),".")),this.props.element.hasOwnProperty("step")&&o.createElement("div",{className:"form-group"},o.createElement("div",{className:"form-group-range"},o.createElement("label",{className:"label-text",htmlFor:"rangeStep"},o.createElement(R.A,{id:"step"})),o.createElement("input",{id:"rangeStep",type:"number",className:"input",min:"1",step:"1",value:this.state.element.step,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"step","value")}))),this.props.element.hasOwnProperty("min_value")&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",htmlFor:"rangeMin"},o.createElement(R.A,{id:"min"})),o.createElement("div",{className:"form-group-range flex gap-2"},o.createElement("input",{id:"rangeMin",type:"number",className:"input",defaultValue:this.props.element.min_value,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"min_value","value")}),o.createElement("input",{type:"text",className:"input",defaultValue:this.props.element.min_label,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"min_label","value")}))),this.props.element.hasOwnProperty("max_value")&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",htmlFor:"rangeMax"},o.createElement(R.A,{id:"max"})),o.createElement("div",{className:"form-group-range flex gap-2"},o.createElement("input",{id:"rangeMax",type:"number",className:"input",defaultValue:this.props.element.max_value,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"max_value","value")}),o.createElement("input",{type:"text",className:"input",defaultValue:this.props.element.max_label,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"max_label","value")}))),this.props.element.hasOwnProperty("default_value")&&o.createElement("div",{className:"form-group"},o.createElement("div",{className:"form-group-range"},o.createElement("label",{className:"label-text",htmlFor:"defaultSelected"},o.createElement(R.A,{id:"default-selected"})),o.createElement("input",{id:"defaultSelected",type:"number",className:"input",defaultValue:this.props.element.default_value,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"default_value","value")}))),this.props.element.showDescription&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",htmlFor:"questionDescription"},o.createElement(R.A,{id:"description"})),o.createElement(A,{type:"text",className:"input",id:"questionDescription",defaultValue:this.props.element.description,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"description","value")})),this.props.showCorrectColumn&&this.props.element.canHaveAnswer&&!this.props.element.hasOwnProperty("options")&&o.createElement("div",{className:"form-group"},o.createElement("label",{className:"label-text",html
1For:"correctAnswer"},o.createElement(R.A,{id:"correct-answer"})),o.createElement("input",{id:"correctAnswer",type:"text",className:"input",defaultValue:this.props.element.correct,onBlur:this.updateElement.bind(this),onChange:this.editElementProp.bind(this,"correct","value")})),this.props.element.hasOwnProperty("options")&&o.createElement(I,{showCorrectColumn:this.props.showCorrectColumn,canHaveOptionCorrect:p,canHaveOptionValue:d,validationIssues:f,data:this.props.preview.state.data,updateElement:this.props.updateElement,preview:this.props.preview,element:this.props.element,key:this.props.element.options.length}))}}]),c}(o.Component);z.defaultProps={className:"edit-element-fields"}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.