{"version":3,"file":"js/rescript-bundles-countries-dashboard-edit-CountryEdit-res-dd01cc04c2800c8e126a.chunk.js","mappings":"gfAgCIA,EAAoC,CACtCC,SAAU,4BACVC,SAAW,SAAUC,GAEjB,MAAiB,KADTC,EAAAA,GAAyBD,EAAME,wBACjCC,OACG,CACCC,IAAK,QACLC,GAAI,wCAGL,CACCD,IAAK,KACLC,GAAIJ,EAAAA,GAAyBD,EAAME,wBAG/C,GAGAI,EAA6B,CAC/BR,SAAU,4BACVC,SAAW,SAAUC,GAEjB,OADaA,EAAMO,gBAAgBC,OACtB,IACJ,CACCJ,IAAK,QACLC,GAAI,sDAGL,CACCD,IAAK,KACLC,GAAIL,EAAMO,gBAGtB,GAGAE,EAAuB,CACzBX,SAAU,4BACVC,SAAW,SAAUC,GAEjB,OADaA,EAAMU,UAAUF,OAChB,IACJ,CACCJ,IAAK,QACLC,GAAI,gDAGL,CACCD,IAAK,KACLC,GAAIL,EAAMU,UAGtB,GAGAC,EAAa,CACfC,cAAUC,EACVX,uBAAwBL,EACxBiB,eAAWD,EACXE,YAAQF,EACRN,gBAAiBD,EACjBI,UAAWD,GAcb,SAASO,EAAahB,GACpB,MAAO,CACCA,MAAOA,EACPiB,eAbD,CACCL,SAAU,WACVV,uBAAwB,WACxBY,UAAW,WACXC,OAAQ,WACRR,gBAAiB,WACjBG,UAAW,YAQXQ,yBAAqBL,EACrBM,WAAY,UACZC,iBAAkB,iBAE5B,CAEA,SAASC,EAAarB,EAAOW,EAAYM,GACvC,IAKIK,EALAC,EAAU,CACZnB,IAAK,KACLC,GAAIL,EAAMY,UAERY,EAAQP,EAAef,uBAE3BoB,EAAuB,kBAAVE,EAAqBb,EAAWT,uBAAuBH,SAASC,GAASwB,EAAMnB,GAC5F,IASIoB,EATAC,EAAY,CACdtB,IAAK,KACLC,GAAIL,EAAMc,WAERa,EAAY,CACdvB,IAAK,KACLC,GAAIL,EAAMe,QAERa,EAAUX,EAAeV,gBAE7BkB,EAA2B,kBAAZG,EA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,EAA2BA,EAAa,KACnDD,OAA4BxN,IAAhBuN,EAA4BA,EAAc,cAG1D,OADA9M,OAAiBT,IAAXqC,GAAmC,UAAXA,EAAqB0K,EAAInK,MAAQ,GACxDkE,EAAAA,KAAgB,MAAO,CAClBE,SAAU,CACRF,EAAAA,IAAe,SAAU,CACnBE,SAAUvB,EAAMuB,SAChB6B,IAAKzB,EAAAA,GAAgB3B,EAAMwI,QAAS,SAAUC,GACtC,OAAOA,CACT,IACNlG,UAAWmG,EAAAA,GAAM,CACXpB,EAAIqB,OACM,KAAV1H,EAAeqG,EAAIrG,MAAQqG,EAAIhE,YAC/BtI,EACAuH,IAENjC,GAAIN,EAAMM,GACV+H,UAAWA,EACXpD,SAAUA,EACV2D,KAAM,GACN3H,MAAOA,EACP4H,QAAS7I,EAAM6I,QACfC,OAAQ9I,EAAM8I,OACd7F,SAAUjD,EAAMiD,WAEtB5B,EAAAA,IAAe0H,EAAAA,EAAiB,CAC1B/F,KAAMiF,EACNlD,MAAOgD,EACPxF,UAAW+E,EAAIhB,QAGvB/D,UAAWmG,EAAAA,GAAM,CACXpB,EAAID,QACJc,KAGpB,C,6DCzCA,IAAIpI,EAdJ,SAAoBC,GAClB,IAAIgJ,EAAUhJ,EAAMiJ,MAChBA,OAAoB1O,IAAZyO,EAAwBA,EAAU,SAC9C,OAAO3H,EAAAA,IAAe6H,EAAAA,GAAW,CACrBD,MAAOA,EACPjG,KAAMhD,EAAMgD,KACZT,UAAWvC,EAAMuC,UACjBhB,SAAUF,EAAAA,IAAe,OAAQ,CAC3B8H,EAAG,oCACHC,KAAMF,EAAAA,GAAclJ,EAAM+E,UAG9C,C","sources":["webpack://datacenters/./client/app/rescript/bundles/countries/dashboard/edit/components/CountryEditForm.res.js","webpack://datacenters/./client/app/rescript/bundles/countries/dashboard/edit/CountryEdit.res.js","webpack://datacenters/./client/app/rescript/styleguide/forms/Select/Select.scss?00c7","webpack://datacenters/./client/app/rescript/styleguide/forms/Select/Select.res.js","webpack://datacenters/./client/app/rescript/styleguide/icons/IconSelect.res.js"],"sourcesContent":["// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as Col from \"../../../../../styleguide/components/Grid/Col/Col.res.js\";\nimport * as Row from \"../../../../../styleguide/components/Grid/Row/Row.res.js\";\nimport * as Url from \"../../../../../utils/Url.res.js\";\nimport * as Grid from \"../../../../../styleguide/components/Grid/Grid.res.js\";\nimport * as Label from \"../../../../../styleguide/forms/Label/Label.res.js\";\nimport * as Quill from \"../../../../../bindings/Quill.res.js\";\nimport * as React from \"react\";\nimport * as Button from \"../../../../../styleguide/components/Button/Button.res.js\";\nimport * as Editor from \"../../../../../styleguide/forms/Editor/Editor.res.js\";\nimport * as Select from \"../../../../../styleguide/forms/Select/Select.res.js\";\nimport * as $$String from \"rescript/lib/es6/string.js\";\nimport * as Toggle from \"../../../../../styleguide/forms/Toggle/Toggle.res.js\";\nimport * as Country from \"../../../../../models/Country.res.js\";\nimport * as $$Promise from \"../../../../../bindings/Promise.res.js\";\nimport * as FormTags from \"../../../../../styleguide/components/FormTags/FormTags.res.js\";\nimport * as Keyboard from \"../../../../../libs/Keyboard.res.js\";\nimport * as Textarea from \"../../../../../styleguide/forms/Textarea/Textarea.res.js\";\nimport * as Formality from \"re-formality/src/Formality.res.js\";\nimport * as TextField from \"../../../../../styleguide/forms/TextField/TextField.res.js\";\nimport * as Belt_Array from \"rescript/lib/es6/belt_Array.js\";\nimport * as Api_Country from \"../../../../../api/countries/Api_Country.res.js\";\nimport * as Belt_Option from \"rescript/lib/es6/belt_Option.js\";\nimport * as Caml_option from \"rescript/lib/es6/caml_option.js\";\nimport * as ErrorMessage from \"../../../../../styleguide/forms/ErrorMessage/ErrorMessage.res.js\";\nimport * as SentryLogger from \"../../../../../loggers/SentryLogger.res.js\";\nimport * as Routes_Country from \"../../../../../routes/common/Routes_Country.res.js\";\nimport * as DashboardFormCss from \"../../../../../styleguide/dashboard/components/forms/DashboardFormCss.res.js\";\nimport * as JsxRuntime from \"react/jsx-runtime\";\nimport * as Formality__ReactUpdate from \"re-formality/src/Formality__ReactUpdate.res.js\";\n\nvar validators_administrativeDivision = {\n strategy: \"OnFirstSuccessOrFirstBlur\",\n validate: (function (input) {\n var x = Country.divisionToString(input.administrativeDivision);\n if (x.trim() === \"\") {\n return {\n TAG: \"Error\",\n _0: \"Administrative division is required.\"\n };\n } else {\n return {\n TAG: \"Ok\",\n _0: Country.divisionToString(input.administrativeDivision)\n };\n }\n })\n};\n\nvar validators_metaDescription = {\n strategy: \"OnFirstSuccessOrFirstBlur\",\n validate: (function (input) {\n var length = input.metaDescription.length;\n if (length > 500) {\n return {\n TAG: \"Error\",\n _0: \"Meta description must no more than 500 characters.\"\n };\n } else {\n return {\n TAG: \"Ok\",\n _0: input.metaDescription\n };\n }\n })\n};\n\nvar validators_metaTitle = {\n strategy: \"OnFirstSuccessOrFirstBlur\",\n validate: (function (input) {\n var length = input.metaTitle.length;\n if (length > 200) {\n return {\n TAG: \"Error\",\n _0: \"Meta title must no more than 200 characters.\"\n };\n } else {\n return {\n TAG: \"Ok\",\n _0: input.metaTitle\n };\n }\n })\n};\n\nvar validators = {\n altNames: undefined,\n administrativeDivision: validators_administrativeDivision,\n cityState: undefined,\n active: undefined,\n metaDescription: validators_metaDescription,\n metaTitle: validators_metaTitle\n};\n\nfunction initialFieldsStatuses(_input) {\n return {\n altNames: \"Pristine\",\n administrativeDivision: \"Pristine\",\n cityState: \"Pristine\",\n active: \"Pristine\",\n metaDescription: \"Pristine\",\n metaTitle: \"Pristine\"\n };\n}\n\nfunction initialState(input) {\n return {\n input: input,\n fieldsStatuses: initialFieldsStatuses(input),\n collectionsStatuses: undefined,\n formStatus: \"Editing\",\n submissionStatus: \"NeverSubmitted\"\n };\n}\n\nfunction validateForm(input, validators, fieldsStatuses) {\n var match_0 = {\n TAG: \"Ok\",\n _0: input.altNames\n };\n var match = fieldsStatuses.administrativeDivision;\n var tmp;\n tmp = typeof match !== \"object\" ? validators.administrativeDivision.validate(input) : match._0;\n var match_0$1 = {\n TAG: \"Ok\",\n _0: input.cityState\n };\n var match_0$2 = {\n TAG: \"Ok\",\n _0: input.active\n };\n var match$1 = fieldsStatuses.metaDescription;\n var tmp$1;\n tmp$1 = typeof match$1 !== \"object\" ? validators.metaDescription.validate(input) : match$1._0;\n var match$2 = fieldsStatuses.metaTitle;\n var tmp$2;\n tmp$2 = typeof match$2 !== \"object\" ? validators.metaTitle.validate(input) : match$2._0;\n var altNamesResult = match_0;\n var altNamesResult$1;\n if (altNamesResult.TAG === \"Ok\") {\n var administrativeDivisionResult = tmp;\n if (administrativeDivisionResult.TAG === \"Ok\") {\n var cityStateResult = match_0$1;\n if (cityStateResult.TAG === \"Ok\") {\n var activeResult = match_0$2;\n if (activeResult.TAG === \"Ok\") {\n var metaDescriptionResult = tmp$1;\n if (metaDescriptionResult.TAG === \"Ok\") {\n var metaTitleResult = tmp$2;\n if (metaTitleResult.TAG === \"Ok\") {\n return {\n TAG: \"Valid\",\n output: {\n metaTitle: metaTitleResult._0,\n metaDescription: metaDescriptionResult._0,\n active: activeResult._0,\n cityState: cityStateResult._0,\n administrativeDivision: administrativeDivisionResult._0,\n altNames: altNamesResult._0\n },\n fieldsStatuses: {\n altNames: {\n TAG: \"Dirty\",\n _0: altNamesResult,\n _1: \"Hidden\"\n },\n administrativeDivision: {\n TAG: \"Dirty\",\n _0: administrativeDivisionResult,\n _1: \"Shown\"\n },\n cityState: {\n TAG: \"Dirty\",\n _0: cityStateResult,\n _1: \"Hidden\"\n },\n active: {\n TAG: \"Dirty\",\n _0: activeResult,\n _1: \"Hidden\"\n },\n metaDescription: {\n TAG: \"Dirty\",\n _0: metaDescriptionResult,\n _1: \"Shown\"\n },\n metaTitle: {\n TAG: \"Dirty\",\n _0: metaTitleResult,\n _1: \"Shown\"\n }\n },\n collectionsStatuses: undefined\n };\n }\n altNamesResult$1 = altNamesResult;\n } else {\n altNamesResult$1 = altNamesResult;\n }\n } else {\n altNamesResult$1 = altNamesResult;\n }\n } else {\n altNamesResult$1 = altNamesResult;\n }\n } else {\n altNamesResult$1 = altNamesResult;\n }\n } else {\n altNamesResult$1 = altNamesResult;\n }\n return {\n TAG: \"Invalid\",\n fieldsStatuses: {\n altNames: {\n TAG: \"Dirty\",\n _0: altNamesResult$1,\n _1: \"Hidden\"\n },\n administrativeDivision: {\n TAG: \"Dirty\",\n _0: tmp,\n _1: \"Shown\"\n },\n cityState: {\n TAG: \"Dirty\",\n _0: match_0$1,\n _1: \"Hidden\"\n },\n active: {\n TAG: \"Dirty\",\n _0: match_0$2,\n _1: \"Hidden\"\n },\n metaDescription: {\n TAG: \"Dirty\",\n _0: tmp$1,\n _1: \"Shown\"\n },\n metaTitle: {\n TAG: \"Dirty\",\n _0: tmp$2,\n _1: \"Shown\"\n }\n },\n collectionsStatuses: undefined\n };\n}\n\nfunction useForm(initialInput, onSubmit) {\n var memoizedInitialState = React.useMemo((function () {\n return initialState(initialInput);\n }), [initialInput]);\n var match = Formality__ReactUpdate.useReducer(memoizedInitialState, (function (state, action) {\n if (typeof action !== \"object\") {\n switch (action) {\n case \"BlurAltNamesField\" :\n var result = Formality.validateFieldOnBlurWithoutValidator(state.input.altNames, state.fieldsStatuses.altNames, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: status,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n }));\n if (result !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: result,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return \"NoUpdate\";\n }\n case \"BlurAdministrativeDivisionField\" :\n var result$1 = Formality.validateFieldOnBlurWithValidator(state.input, state.fieldsStatuses.administrativeDivision, validators_administrativeDivision, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: status,\n cityState: init.cityState,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n }));\n if (result$1 !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: result$1,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return \"NoUpdate\";\n }\n case \"BlurCityStateField\" :\n var result$2 = Formality.validateFieldOnBlurWithoutValidator(state.input.cityState, state.fieldsStatuses.cityState, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: status,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n }));\n if (result$2 !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: result$2,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return \"NoUpdate\";\n }\n case \"BlurActiveField\" :\n var result$3 = Formality.validateFieldOnBlurWithoutValidator(state.input.active, state.fieldsStatuses.active, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: status,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n }));\n if (result$3 !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: result$3,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return \"NoUpdate\";\n }\n case \"BlurMetaDescriptionField\" :\n var result$4 = Formality.validateFieldOnBlurWithValidator(state.input, state.fieldsStatuses.metaDescription, validators_metaDescription, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: init.active,\n metaDescription: status,\n metaTitle: init.metaTitle\n };\n }));\n if (result$4 !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: result$4,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return \"NoUpdate\";\n }\n case \"BlurMetaTitleField\" :\n var result$5 = Formality.validateFieldOnBlurWithValidator(state.input, state.fieldsStatuses.metaTitle, validators_metaTitle, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: status\n };\n }));\n if (result$5 !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: result$5,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return \"NoUpdate\";\n }\n case \"Submit\" :\n var match = state.formStatus;\n if (typeof match === \"object\" && match.TAG === \"Submitting\") {\n return \"NoUpdate\";\n }\n var match$1 = validateForm(state.input, validators, state.fieldsStatuses);\n if (match$1.TAG !== \"Valid\") {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: match$1.fieldsStatuses,\n collectionsStatuses: match$1.collectionsStatuses,\n formStatus: \"Editing\",\n submissionStatus: \"AttemptedToSubmit\"\n }\n };\n }\n var output = match$1.output;\n var error = state.formStatus;\n var tmp;\n tmp = typeof error !== \"object\" || error.TAG !== \"SubmissionFailed\" ? undefined : Caml_option.some(error._0);\n return {\n TAG: \"UpdateWithSideEffects\",\n _0: {\n input: state.input,\n fieldsStatuses: match$1.fieldsStatuses,\n collectionsStatuses: match$1.collectionsStatuses,\n formStatus: {\n TAG: \"Submitting\",\n _0: tmp\n },\n submissionStatus: \"AttemptedToSubmit\"\n },\n _1: (function (param) {\n var dispatch = param.dispatch;\n onSubmit(output, {\n notifyOnSuccess: (function (input) {\n dispatch({\n TAG: \"SetSubmittedStatus\",\n _0: input\n });\n }),\n notifyOnFailure: (function (error) {\n dispatch({\n TAG: \"SetSubmissionFailedStatus\",\n _0: error\n });\n }),\n reset: (function () {\n dispatch(\"Reset\");\n }),\n dismissSubmissionResult: (function () {\n dispatch(\"DismissSubmissionResult\");\n })\n });\n })\n };\n break;\n case \"DismissSubmissionError\" :\n var match$2 = state.formStatus;\n if (typeof match$2 !== \"object\" || match$2.TAG !== \"SubmissionFailed\") {\n return \"NoUpdate\";\n } else {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: state.fieldsStatuses,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: \"Editing\",\n submissionStatus: state.submissionStatus\n }\n };\n }\n case \"DismissSubmissionResult\" :\n var match$3 = state.formStatus;\n if (typeof match$3 !== \"object\") {\n if (match$3 === \"Editing\") {\n return \"NoUpdate\";\n }\n \n } else if (match$3.TAG === \"Submitting\") {\n return \"NoUpdate\";\n }\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: state.fieldsStatuses,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: \"Editing\",\n submissionStatus: state.submissionStatus\n }\n };\n case \"Reset\" :\n return {\n TAG: \"Update\",\n _0: initialState(initialInput)\n };\n \n }\n } else {\n switch (action.TAG) {\n case \"UpdateAltNamesField\" :\n var nextInput = action._0(state.input);\n return {\n TAG: \"Update\",\n _0: {\n input: nextInput,\n fieldsStatuses: Formality.validateFieldOnChangeWithoutValidator(nextInput.altNames, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: status,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n })),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n case \"UpdateAdministrativeDivisionField\" :\n var nextInput$1 = action._0(state.input);\n return {\n TAG: \"Update\",\n _0: {\n input: nextInput$1,\n fieldsStatuses: Formality.validateFieldOnChangeWithValidator(nextInput$1, state.fieldsStatuses.administrativeDivision, state.submissionStatus, validators_administrativeDivision, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: status,\n cityState: init.cityState,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n })),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n case \"UpdateCityStateField\" :\n var nextInput$2 = action._0(state.input);\n return {\n TAG: \"Update\",\n _0: {\n input: nextInput$2,\n fieldsStatuses: Formality.validateFieldOnChangeWithoutValidator(nextInput$2.cityState, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: status,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n })),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n case \"UpdateActiveField\" :\n var nextInput$3 = action._0(state.input);\n return {\n TAG: \"Update\",\n _0: {\n input: nextInput$3,\n fieldsStatuses: Formality.validateFieldOnChangeWithoutValidator(nextInput$3.active, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: status,\n metaDescription: init.metaDescription,\n metaTitle: init.metaTitle\n };\n })),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n case \"UpdateMetaDescriptionField\" :\n var nextInput$4 = action._0(state.input);\n return {\n TAG: \"Update\",\n _0: {\n input: nextInput$4,\n fieldsStatuses: Formality.validateFieldOnChangeWithValidator(nextInput$4, state.fieldsStatuses.metaDescription, state.submissionStatus, validators_metaDescription, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: init.active,\n metaDescription: status,\n metaTitle: init.metaTitle\n };\n })),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n case \"UpdateMetaTitleField\" :\n var nextInput$5 = action._0(state.input);\n return {\n TAG: \"Update\",\n _0: {\n input: nextInput$5,\n fieldsStatuses: Formality.validateFieldOnChangeWithValidator(nextInput$5, state.fieldsStatuses.metaTitle, state.submissionStatus, validators_metaTitle, (function (status) {\n var init = state.fieldsStatuses;\n return {\n altNames: init.altNames,\n administrativeDivision: init.administrativeDivision,\n cityState: init.cityState,\n active: init.active,\n metaDescription: init.metaDescription,\n metaTitle: status\n };\n })),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: state.formStatus,\n submissionStatus: state.submissionStatus\n }\n };\n case \"SetSubmittedStatus\" :\n var input = action._0;\n if (input !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: input,\n fieldsStatuses: initialFieldsStatuses(input),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: \"Submitted\",\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: initialFieldsStatuses(state.input),\n collectionsStatuses: state.collectionsStatuses,\n formStatus: \"Submitted\",\n submissionStatus: state.submissionStatus\n }\n };\n }\n case \"SetSubmissionFailedStatus\" :\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: state.fieldsStatuses,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: {\n TAG: \"SubmissionFailed\",\n _0: action._0\n },\n submissionStatus: state.submissionStatus\n }\n };\n case \"MapSubmissionError\" :\n var map = action._0;\n var error$1 = state.formStatus;\n if (typeof error$1 !== \"object\") {\n return \"NoUpdate\";\n }\n if (error$1.TAG !== \"Submitting\") {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: state.fieldsStatuses,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: {\n TAG: \"SubmissionFailed\",\n _0: map(error$1._0)\n },\n submissionStatus: state.submissionStatus\n }\n };\n }\n var error$2 = error$1._0;\n if (error$2 !== undefined) {\n return {\n TAG: \"Update\",\n _0: {\n input: state.input,\n fieldsStatuses: state.fieldsStatuses,\n collectionsStatuses: state.collectionsStatuses,\n formStatus: {\n TAG: \"Submitting\",\n _0: Caml_option.some(map(Caml_option.valFromOption(error$2)))\n },\n submissionStatus: state.submissionStatus\n }\n };\n } else {\n return \"NoUpdate\";\n }\n \n }\n }\n }));\n var dispatch = match[1];\n var state = match[0];\n var match$1 = state.formStatus;\n var tmp;\n tmp = typeof match$1 !== \"object\" || match$1.TAG !== \"Submitting\" ? false : true;\n return {\n updateAltNames: (function (nextInputFn, nextValue) {\n dispatch({\n TAG: \"UpdateAltNamesField\",\n _0: (function (__x) {\n return nextInputFn(__x, nextValue);\n })\n });\n }),\n updateAdministrativeDivision: (function (nextInputFn, nextValue) {\n dispatch({\n TAG: \"UpdateAdministrativeDivisionField\",\n _0: (function (__x) {\n return nextInputFn(__x, nextValue);\n })\n });\n }),\n updateCityState: (function (nextInputFn, nextValue) {\n dispatch({\n TAG: \"UpdateCityStateField\",\n _0: (function (__x) {\n return nextInputFn(__x, nextValue);\n })\n });\n }),\n updateActive: (function (nextInputFn, nextValue) {\n dispatch({\n TAG: \"UpdateActiveField\",\n _0: (function (__x) {\n return nextInputFn(__x, nextValue);\n })\n });\n }),\n updateMetaDescription: (function (nextInputFn, nextValue) {\n dispatch({\n TAG: \"UpdateMetaDescriptionField\",\n _0: (function (__x) {\n return nextInputFn(__x, nextValue);\n })\n });\n }),\n updateMetaTitle: (function (nextInputFn, nextValue) {\n dispatch({\n TAG: \"UpdateMetaTitleField\",\n _0: (function (__x) {\n return nextInputFn(__x, nextValue);\n })\n });\n }),\n blurAltNames: (function () {\n dispatch(\"BlurAltNamesField\");\n }),\n blurAdministrativeDivision: (function () {\n dispatch(\"BlurAdministrativeDivisionField\");\n }),\n blurCityState: (function () {\n dispatch(\"BlurCityStateField\");\n }),\n blurActive: (function () {\n dispatch(\"BlurActiveField\");\n }),\n blurMetaDescription: (function () {\n dispatch(\"BlurMetaDescriptionField\");\n }),\n blurMetaTitle: (function () {\n dispatch(\"BlurMetaTitleField\");\n }),\n altNamesResult: Formality.exposeFieldResult(state.fieldsStatuses.altNames),\n administrativeDivisionResult: Formality.exposeFieldResult(state.fieldsStatuses.administrativeDivision),\n cityStateResult: Formality.exposeFieldResult(state.fieldsStatuses.cityState),\n activeResult: Formality.exposeFieldResult(state.fieldsStatuses.active),\n metaDescriptionResult: Formality.exposeFieldResult(state.fieldsStatuses.metaDescription),\n metaTitleResult: Formality.exposeFieldResult(state.fieldsStatuses.metaTitle),\n input: state.input,\n status: state.formStatus,\n dirty: (function () {\n var match = state.fieldsStatuses;\n var tmp = match.altNames;\n if (typeof tmp === \"object\") {\n return true;\n }\n var tmp$1 = match.administrativeDivision;\n if (typeof tmp$1 === \"object\") {\n return true;\n }\n var tmp$2 = match.cityState;\n if (typeof tmp$2 === \"object\") {\n return true;\n }\n var tmp$3 = match.active;\n if (typeof tmp$3 === \"object\") {\n return true;\n }\n var tmp$4 = match.metaDescription;\n if (typeof tmp$4 === \"object\") {\n return true;\n }\n var tmp$5 = match.metaTitle;\n if (typeof tmp$5 !== \"object\") {\n return false;\n } else {\n return true;\n }\n }),\n valid: (function () {\n var match = validateForm(state.input, validators, state.fieldsStatuses);\n if (match.TAG === \"Valid\") {\n return true;\n } else {\n return false;\n }\n }),\n submitting: tmp,\n submit: (function () {\n dispatch(\"Submit\");\n }),\n dismissSubmissionError: (function () {\n dispatch(\"DismissSubmissionError\");\n }),\n dismissSubmissionResult: (function () {\n dispatch(\"DismissSubmissionResult\");\n }),\n mapSubmissionError: (function (map) {\n dispatch({\n TAG: \"MapSubmissionError\",\n _0: map\n });\n }),\n reset: (function () {\n dispatch(\"Reset\");\n })\n };\n}\n\nvar CountryEditForm = {\n validators: validators,\n initialFieldsStatuses: initialFieldsStatuses,\n initialCollectionsStatuses: undefined,\n initialState: initialState,\n validateForm: validateForm,\n useForm: useForm\n};\n\nfunction reducer(state, action) {\n if (action.TAG === \"SetEditorState\") {\n return {\n editorState: Editor.State.compose(state.editorState, action._0),\n altName: state.altName\n };\n } else {\n return {\n editorState: state.editorState,\n altName: action._0\n };\n }\n}\n\nfunction CountryEditForm$1(props) {\n var country = props.country;\n var initialState_editorState = Editor.State.make();\n var initialState = {\n editorState: initialState_editorState,\n altName: \"\"\n };\n var match = React.useReducer(reducer, initialState);\n var dispatch = match[1];\n var state = match[0];\n var initialInput = React.useMemo((function () {\n return {\n metaTitle: country.metaTitle,\n metaDescription: country.metaDescription,\n active: country.active,\n cityState: country.cityState,\n administrativeDivision: country.administrativeDivision,\n altNames: country.altNames\n };\n }), []);\n var form = useForm(initialInput, (function (output, cb) {\n $$Promise.wait(Api_Country.update(country.id, document.querySelector(\".ql-editor\").innerHTML, output.metaTitle, output.metaDescription, output.active, output.cityState, output.altNames, output.administrativeDivision), (function (x) {\n if (x.TAG === \"Ok\") {\n return Url.visit(Routes_Country.Dashboard.edit(x._0.country.id));\n } else {\n return SentryLogger.error1({\n rootModule: \"CountryEditForm\",\n subModulePath: /* [] */0,\n value: \"make\",\n fullPath: \"CountryEditForm.make\"\n }, \"EditCountry::Error\", [\n \"Error\",\n cb.notifyOnFailure()\n ]);\n }\n }));\n }));\n var fieldError = function (field) {\n if (field !== undefined && field.TAG !== \"Ok\") {\n return JsxRuntime.jsx(ErrorMessage.make, {\n children: field._0\n });\n } else {\n return null;\n }\n };\n var containerRef = React.useRef(null);\n var editorRef = React.useRef(undefined);\n React.useEffect((function () {\n var editor = Belt_Option.getExn(Belt_Option.map(Caml_option.nullable_to_opt(containerRef.current), (function (container) {\n return Quill.make(\"Type here...\", undefined, undefined, Quill.countryToolbarOptions, {}, undefined, container);\n })));\n editor.clipboard.dangerouslyPasteHTML(0, country.description);\n var listener = function (delta, param) {\n dispatch({\n TAG: \"SetEditorState\",\n _0: delta\n });\n };\n editorRef.current = Caml_option.some(editor);\n editor.on(\"text-change\", listener);\n return (function () {\n editor.off(\"text-change\", listener);\n });\n }), []);\n var addAltName = function (altName) {\n var capitalized = Belt_Array.map(altName.split(\" \"), $$String.capitalize_ascii).join(\" \");\n if (!form.input.altNames.includes(capitalized) && capitalized !== \"\") {\n form.input.altNames.push(capitalized);\n return form.updateAltNames((function (input, value) {\n return {\n metaTitle: input.metaTitle,\n metaDescription: input.metaDescription,\n active: input.active,\n cityState: input.cityState,\n administrativeDivision: input.administrativeDivision,\n altNames: value\n };\n }), form.input.altNames);\n }\n \n };\n return JsxRuntime.jsx(\"form\", {\n children: JsxRuntime.jsxs(Grid.make, {\n className: DashboardFormCss.marginGrid,\n children: [\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.labelContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(Label.make, {\n forId: \"country-form--active\",\n children: \"Active\"\n })\n }),\n JsxRuntime.jsxs(Col.make, {\n className: DashboardFormCss.fieldContainer,\n md: 9,\n lg: 9,\n children: [\n JsxRuntime.jsx(Toggle.make, {\n on: form.input.active,\n size: \"MD\",\n onChange: (function () {\n form.updateActive((function (input, value) {\n return {\n metaTitle: input.metaTitle,\n metaDescription: input.metaDescription,\n active: value,\n cityState: input.cityState,\n administrativeDivision: input.administrativeDivision,\n altNames: input.altNames\n };\n }), !form.input.active);\n })\n }),\n form.input.active ? JsxRuntime.jsx(\"div\", {\n children: \"This country currently has \" + String(country.locationsCountActive) + \"\\n active locations. Setting it to \\\"Inactive\\\" will remove it from\\n public access.\",\n className: DashboardFormCss.fieldInstructions\n }) : JsxRuntime.jsx(\"div\", {\n children: \"This country currently has \" + String(country.locationsCountActive) + \"\\n active locations. Setting it to \\\"Active\\\" will make it public.\",\n className: DashboardFormCss.fieldInstructions\n })\n ]\n })\n ]\n }),\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.labelContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(Label.make, {\n forId: \"country-form--cityState\",\n children: \"City State\"\n })\n }),\n JsxRuntime.jsxs(Col.make, {\n className: DashboardFormCss.fieldContainer,\n md: 9,\n lg: 9,\n children: [\n JsxRuntime.jsx(Toggle.make, {\n on: form.input.cityState,\n size: \"MD\",\n onChange: (function () {\n form.updateCityState((function (input, value) {\n return {\n metaTitle: input.metaTitle,\n metaDescription: input.metaDescription,\n active: input.active,\n cityState: value,\n administrativeDivision: input.administrativeDivision,\n altNames: input.altNames\n };\n }), !form.input.cityState);\n })\n }),\n JsxRuntime.jsx(\"div\", {\n children: \"If true, any state or city pages related to this country, will be redirected\\n to the country page.\",\n className: DashboardFormCss.fieldInstructions\n })\n ]\n })\n ]\n }),\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.labelContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(Label.make, {\n forId: \"country-form--country-description\",\n children: \"Description\"\n })\n }),\n JsxRuntime.jsx(Col.make, {\n md: 9,\n lg: 9,\n children: JsxRuntime.jsx(\"div\", {\n children: JsxRuntime.jsx(Editor.make, {\n ref: containerRef\n }),\n className: DashboardFormCss.editor\n })\n })\n ]\n }),\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.labelContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(Label.make, {\n forId: \"country-form--seo-title\",\n children: \"Meta Title\"\n })\n }),\n JsxRuntime.jsxs(Col.make, {\n className: DashboardFormCss.fieldContainer,\n md: 9,\n lg: 9,\n children: [\n JsxRuntime.jsx(TextField.make, {\n id: \"country-form--seo-title\",\n value: form.input.metaTitle,\n placeholder: \"Add a meta title.\",\n onChange: (function ($$event) {\n form.updateMetaTitle((function (input, value) {\n return {\n metaTitle: value,\n metaDescription: input.metaDescription,\n active: input.active,\n cityState: input.cityState,\n administrativeDivision: input.administrativeDivision,\n altNames: input.altNames\n };\n }), $$event.target.value);\n })\n }),\n fieldError(form.metaTitleResult)\n ]\n })\n ]\n }),\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.labelContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(Label.make, {\n forId: \"country-form--meta-description\",\n children: \"Meta Description\"\n })\n }),\n JsxRuntime.jsxs(Col.make, {\n className: DashboardFormCss.fieldContainer,\n md: 9,\n lg: 9,\n children: [\n JsxRuntime.jsx(Textarea.make, {\n id: \"country-form--meta-description\",\n value: form.input.metaDescription,\n placeholder: \"Add a meta description.\",\n onChange: (function ($$event) {\n form.updateMetaDescription((function (input, value) {\n return {\n metaTitle: input.metaTitle,\n metaDescription: value,\n active: input.active,\n cityState: input.cityState,\n administrativeDivision: input.administrativeDivision,\n altNames: input.altNames\n };\n }), $$event.target.value);\n })\n }),\n fieldError(form.metaDescriptionResult)\n ]\n })\n ]\n }),\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.labelContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(Label.make, {\n forId: \"country-form--alt-names\",\n children: \"Alternative Names\"\n })\n }),\n JsxRuntime.jsxs(Col.make, {\n className: DashboardFormCss.fieldContainer,\n md: 9,\n lg: 9,\n children: [\n JsxRuntime.jsx(TextField.make, {\n id: \"country-form--alt-names\",\n value: state.altName,\n placeholder: \"Add a new name. Hit a comma to add the name.\",\n onChange: (function ($$event) {\n var value = $$event.target.value.replace(new RegExp(\",\"), \"\");\n dispatch({\n TAG: \"SetAltName\",\n _0: value\n });\n }),\n onKeyUp: (function ($$event) {\n Keyboard.React.onComma($$event, (function () {\n addAltName(state.altName);\n dispatch({\n TAG: \"SetAltName\",\n _0: \"\"\n });\n }));\n })\n }),\n JsxRuntime.jsx(FormTags.make, {\n tags: form.input.altNames,\n updateTags: (function (altName) {\n return function (param) {\n var altNames = Belt_Array.keep(form.input.altNames, (function (item) {\n return item !== altName;\n }));\n form.updateAltNames((function (input, value) {\n return {\n metaTitle: input.metaTitle,\n metaDescription: input.metaDescription,\n active: input.active,\n cityState: input.cityState,\n administrativeDivision: input.administrativeDivision,\n altNames: value\n };\n }), altNames);\n };\n })\n }),\n fieldError(form.altNamesResult)\n ]\n })\n ]\n }),\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.labelContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(Label.make, {\n forId: \"country--administrativeDivision\",\n children: \"Administrative Division\"\n })\n }),\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.fieldContainer,\n md: 9,\n lg: 9,\n children: JsxRuntime.jsx(Select.make, {\n id: \"country--administrativeDivision\",\n value: Country.divisionToString(form.input.administrativeDivision),\n onChange: (function ($$event) {\n form.updateAdministrativeDivision((function (input, value) {\n return {\n metaTitle: input.metaTitle,\n metaDescription: input.metaDescription,\n active: input.active,\n cityState: input.cityState,\n administrativeDivision: value,\n altNames: input.altNames\n };\n }), Country.divisionFromString($$event.target.value));\n }),\n children: Belt_Array.mapWithIndex(Country.administriveDivisions, (function (index, division) {\n return JsxRuntime.jsx(Select.$$Option.make, {\n value: Country.divisionToString(division),\n children: Country.divisionToString(division)\n }, \"administrative-division-\" + String(index));\n }))\n })\n })\n ]\n }),\n JsxRuntime.jsxs(Row.make, {\n className: DashboardFormCss.marginRow,\n children: [\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.buttonContainer,\n md: 3,\n lg: 3,\n children: JsxRuntime.jsx(\"div\", {})\n }),\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.buttonContainer,\n md: 4,\n lg: 4,\n children: JsxRuntime.jsx(Button.make, {\n size: \"LG\",\n color: \"Primary\",\n expanded: true,\n disabled: form.submitting,\n busy: form.submitting,\n submit: true,\n children: \"Save Country\"\n })\n }),\n JsxRuntime.jsx(Col.make, {\n className: DashboardFormCss.buttonContainer,\n md: 5,\n lg: 5,\n children: JsxRuntime.jsx(Button.make, {\n size: \"LG\",\n color: \"White\",\n expanded: true,\n busy: false,\n submit: true,\n onClick: (function (e) {\n e.preventDefault();\n Url.visit(Routes_Country.Dashboard.index);\n }),\n children: \"Cancel\"\n })\n })\n ]\n })\n ]\n }),\n onSubmit: (function ($$event) {\n $$event.preventDefault();\n form.submit();\n })\n });\n}\n\nvar Css;\n\nvar make = CountryEditForm$1;\n\nexport {\n Css ,\n CountryEditForm ,\n reducer ,\n make ,\n}\n/* Col Not a pure module */\n","// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as H1 from \"../../../../styleguide/components/Heading/H1.res.js\";\nimport * as Container from \"../../../../styleguide/components/Container/Container.res.js\";\nimport * as CountryEditForm from \"./components/CountryEditForm.res.js\";\nimport * as DashboardIndexCss from \"../../../../styleguide/dashboard/components/views/index/DashboardIndexCss.res.js\";\nimport * as JsxRuntime from \"react/jsx-runtime\";\nimport * as CountriesDashboardNavbar from \"../index/components/CountriesDashboardNavbar.res.js\";\n\nfunction CountryEdit$default(props) {\n var country = props.country;\n return JsxRuntime.jsxs(\"div\", {\n children: [\n JsxRuntime.jsx(CountriesDashboardNavbar.make, {\n currentLink: \"Edit\",\n country: country\n }),\n JsxRuntime.jsxs(Container.make, {\n className: DashboardIndexCss.layout,\n children: [\n JsxRuntime.jsx(H1.make, {\n className: DashboardIndexCss.title,\n children: \"Edit Country: \" + country.name\n }),\n JsxRuntime.jsx(CountryEditForm.make, {\n country: country\n })\n ]\n })\n ]\n });\n}\n\nvar Css;\n\nvar $$default = CountryEdit$default;\n\nexport {\n Css ,\n $$default as default,\n}\n/* H1 Not a pure module */\n","// extracted by mini-css-extract-plugin\nexport var column = \"Select__column__JbOGg\";\nexport var error = \"Select__error___N7X7\";\nexport var flex = \"Select__flex__fWxmb\";\nexport var flexColumn = \"Select__flexColumn__Os97J\";\nexport var gap1 = \"Select__gap1__QUa_2\";\nexport var gap2 = \"Select__gap2__FipIl\";\nexport var gap3 = \"Select__gap3__FH2mc\";\nexport var gap4 = \"Select__gap4__q3uhL\";\nexport var gap5 = \"Select__gap5__O5AFW\";\nexport var icon = \"Select__icon__ODRFF\";\nexport var marginLeft = \"Select__marginLeft__YpZxG\";\nexport var marginRight = \"Select__marginRight__wlfaG\";\nexport var placeholder = \"Select__placeholder___LRbr\";\nexport var row = \"Select__row__g7uvb\";\nexport var select = \"Select__select__Xt23G\";\nexport var sizeLg = \"Select__sizeLg__eeu_q\";\nexport var sizeMd = \"Select__sizeMd__yNSVm\";\nexport var sizeSm = \"Select__sizeSm__Pe3oH\";\nexport var sizeXl = \"Select__sizeXl__ZY3Kq\";\nexport var sizeXs = \"Select__sizeXs__oNe7f\";\nexport var sizeXxl = \"Select__sizeXxl__Y6GhA\";\nexport var sizeXxs = \"Select__sizeXxs__CCWXg\";\nexport var sizeXxxl = \"Select__sizeXxxl__Lxn0f\";\nexport var sizeXxxs = \"Select__sizeXxxs__LCRdv\";\nexport var sizeXxxxl = \"Select__sizeXxxxl___CHBI\";\nexport var sizeXxxxxl = \"Select__sizeXxxxxl__Oj5m5\";\nexport var value = \"Select__value__YR0uW\";\nexport var wrapper = \"Select__wrapper__zO1V9\";","// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as Cx from \"rescript-classnames/src/Cx.res.js\";\nimport * as IconSelect from \"../../icons/IconSelect.res.js\";\nimport * as Belt_Option from \"rescript/lib/es6/belt_Option.js\";\nimport * as SelectScss from \"./Select.scss\";\nimport * as JsxRuntime from \"react/jsx-runtime\";\n\nvar css = SelectScss;\n\nfunction Select(props) {\n var __iconColor = props.iconColor;\n var __iconSize = props.iconSize;\n var __wrapperClassName = props.wrapperClassName;\n var __autoFocus = props.autoFocus;\n var __className = props.className;\n var status = props.status;\n var __disabled = props.disabled;\n var value = props.value;\n var disabled = __disabled !== undefined ? __disabled : false;\n var className = __className !== undefined ? __className : \"\";\n var autoFocus = __autoFocus !== undefined ? __autoFocus : false;\n var wrapperClassName = __wrapperClassName !== undefined ? __wrapperClassName : \"\";\n var iconSize = __iconSize !== undefined ? __iconSize : \"MD\";\n var iconColor = __iconColor !== undefined ? __iconColor : \"LighterGray\";\n var tmp;\n tmp = status !== undefined && status !== \"Valid\" ? css.error : \"\";\n return JsxRuntime.jsxs(\"div\", {\n children: [\n JsxRuntime.jsx(\"select\", {\n children: props.children,\n ref: Belt_Option.map(props.setRef, (function (prim) {\n return prim;\n })),\n className: Cx.cx([\n css.select,\n value !== \"\" ? css.value : css.placeholder,\n tmp,\n className\n ]),\n id: props.id,\n autoFocus: autoFocus,\n disabled: disabled,\n type: \"\",\n value: value,\n onFocus: props.onFocus,\n onBlur: props.onBlur,\n onChange: props.onChange\n }),\n JsxRuntime.jsx(IconSelect.make, {\n size: iconSize,\n color: iconColor,\n className: css.icon\n })\n ],\n className: Cx.cx([\n css.wrapper,\n wrapperClassName\n ])\n });\n}\n\nfunction Select$Option(props) {\n return JsxRuntime.jsx(\"option\", {\n children: props.children,\n value: props.value\n });\n}\n\nvar $$Option = {\n make: Select$Option\n};\n\nfunction Select$DefaultOption(props) {\n var __selectable = props.selectable;\n var selectable = __selectable !== undefined ? __selectable : false;\n return JsxRuntime.jsx(\"option\", {\n children: props.children,\n hidden: !selectable,\n default: true,\n disabled: !selectable,\n value: \"\"\n });\n}\n\nvar DefaultOption = {\n make: Select$DefaultOption\n};\n\nvar make = Select;\n\nexport {\n css ,\n make ,\n $$Option ,\n DefaultOption ,\n}\n/* css Not a pure module */\n","// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as Icon from \"../components/Icon/Icon.res.js\";\nimport * as JsxRuntime from \"react/jsx-runtime\";\n\nfunction IconSelect(props) {\n var __title = props.title;\n var title = __title !== undefined ? __title : \"Select\";\n return JsxRuntime.jsx(Icon.make, {\n title: title,\n size: props.size,\n className: props.className,\n children: JsxRuntime.jsx(\"path\", {\n d: \"M16 5.5l-1-1-7 7-7-7-1 1 8 8 8-8z\",\n fill: Icon.mapColor(props.color)\n })\n });\n}\n\nvar make = IconSelect;\n\nexport {\n make ,\n}\n/* Icon Not a pure module */\n"],"names":["validators_administrativeDivision","strategy","validate","input","Country","administrativeDivision","trim","TAG","_0","validators_metaDescription","metaDescription","length","validators_metaTitle","metaTitle","validators","altNames","undefined","cityState","active","initialState","fieldsStatuses","collectionsStatuses","formStatus","submissionStatus","validateForm","tmp","match_0","match","tmp$1","match_0$1","match_0$2","match$1","tmp$2","match$2","altNamesResult$1","altNamesResult","administrativeDivisionResult","cityStateResult","activeResult","metaDescriptionResult","metaTitleResult","output","_1","useForm","initialInput","onSubmit","memoizedInitialState","React","Formality__ReactUpdate","state","action","result","Formality","status","init","result$1","result$2","result$3","result$4","result$5","error","Caml_option","param","dispatch","notifyOnSuccess","notifyOnFailure","reset","dismissSubmissionResult","match$3","nextInput","nextInput$1","nextInput$2","nextInput$3","nextInput$4","nextInput$5","map","error$1","error$2","updateAltNames","nextInputFn","nextValue","__x","updateAdministrativeDivision","updateCityState","updateActive","updateMetaDescription","updateMetaTitle","blurAltNames","blurAdministrativeDivision","blurCityState","blurActive","blurMetaDescription","blurMetaTitle","dirty","valid","submitting","submit","dismissSubmissionError","mapSubmissionError","reducer","editorState","Editor","compose","altName","make","props","country","form","cb","$$Promise","Api_Country","id","document","querySelector","innerHTML","x","Url","Routes_Country","edit","SentryLogger","rootModule","subModulePath","value","fullPath","fieldError","field","JsxRuntime","ErrorMessage","children","containerRef","editorRef","editor","Belt_Option","current","container","Quill","clipboard","dangerouslyPasteHTML","description","listener","delta","on","off","Grid","className","DashboardFormCss","Row","Col","md","lg","Label","forId","Toggle","size","onChange","String","locationsCountActive","ref","TextField","placeholder","$$event","target","Textarea","replace","RegExp","onKeyUp","Keyboard","onComma","capitalized","Belt_Array","split","$$String","join","includes","push","addAltName","FormTags","tags","updateTags","item","Select","index","division","Button","color","expanded","disabled","busy","onClick","e","preventDefault","$$default","CountriesDashboardNavbar","currentLink","Container","DashboardIndexCss","H1","name","CountryEditForm","column","flex","flexColumn","gap1","gap2","gap3","gap4","gap5","icon","marginLeft","marginRight","row","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs","sizeXxl","sizeXxs","sizeXxxl","sizeXxxs","sizeXxxxl","sizeXxxxxl","wrapper","css","SelectScss","$$Option","DefaultOption","__selectable","selectable","hidden","default","__iconColor","iconColor","__iconSize","iconSize","__wrapperClassName","wrapperClassName","__autoFocus","autoFocus","__className","__disabled","setRef","prim","Cx","select","type","onFocus","onBlur","IconSelect","__title","title","Icon","d","fill"],"sourceRoot":""}