(self.webpackChunkfindagrave_frontend=self.webpackChunkfindagrave_frontend||[]).push([[3406],{53406(e,t,a){var o,s=a(68446);o=s.currentEnv?s.currentEnv:s.currentEnv=new s.Environment([],void 0);a(48029)(o);var r=s.webpackDependencies||(s.webpackDependencies={}),n=a(3802);(s.nunjucksPrecompiled=s.nunjucksPrecompiled||{})["public/templates/macro/localeEntry.html"]={root:function(e,t,a,o,s){var r=0,n=0,p="";try{var l=o.makeMacro(["value","id","placeHolder","languageId","index","includeSort","colsize","length"],["type","preferredLanguage","rows","newItem","disabled","hidden","locked"],function(s,p,l,u,c,d,i,m,g){var b=a;a=new o.Frame,g=g||{},Object.prototype.hasOwnProperty.call(g,"caller")&&a.set("caller",g.caller),a.set("value",s),a.set("id",p),a.set("placeHolder",l),a.set("languageId",u),a.set("index",c),a.set("includeSort",d),a.set("colsize",i),a.set("length",m),a.set("type",Object.prototype.hasOwnProperty.call(g,"type")?g.type:"text"),a.set("preferredLanguage",Object.prototype.hasOwnProperty.call(g,"preferredLanguage")?g.preferredLanguage:"en"),a.set("rows",Object.prototype.hasOwnProperty.call(g,"rows")?g.rows:3),a.set("newItem",!!Object.prototype.hasOwnProperty.call(g,"newItem")&&g.newItem),a.set("disabled",!!Object.prototype.hasOwnProperty.call(g,"disabled")&&g.disabled),a.set("hidden",!!Object.prototype.hasOwnProperty.call(g,"hidden")&&g.hidden),a.set("locked",!!Object.prototype.hasOwnProperty.call(g,"locked")&&g.locked);var x,v,L="";return L+="\n ",x=p+"-"+c,a.set("indexedId",x,!0),a.topLevel&&t.setVariable("indexedId",x),a.topLevel&&t.addExport("indexedId",x),L+="\n ",v=u+"-"+c,a.set("indexedLanguageId",v,!0),a.topLevel&&t.setVariable("indexedLanguageId",v),a.topLevel&&t.addExport("indexedLanguageId",v),L+='\n
\n
\n ',o.contextOrFrameLookup(t,a,"disabled")?(L+="\n ",1==c&&(L+='\n
',L+=o.suppressValue(l,e.opts.autoescape),o.contextOrFrameLookup(t,a,"locked")&&(L+=" - ",L+=o.suppressValue(e.getFilter("safe").call(t,(r=8,n=303,o.callWrap(o.contextOrFrameLookup(t,a,"outputLockedField"),"outputLockedField",t,[s]))),e.opts.autoescape)),L+="
\n "),L+="\n "):"text"==o.contextOrFrameLookup(t,a,"type")?(L+='\n
\n \n \n
\n "):"textarea"==o.contextOrFrameLookup(t,a,"type")?(L+='\n
\n \n \n
\n "):"quill"==o.contextOrFrameLookup(t,a,"type")&&(L+='\n
\n ',L+=o.suppressValue(e.getFilter("safe").call(t,s),e.opts.autoescape),L+="\n
\n "),L+='\n
\n
\n ',o.contextOrFrameLookup(t,a,"disabled")?(L+="\n ",1==c&&(L+='\n
',L+=o.suppressValue(e.getFilter("i18n").call(t,"cem.cc.Language:Language (required)"),e.opts.autoescape),o.contextOrFrameLookup(t,a,"locked")&&(L+=" - ",L+=o.suppressValue(e.getFilter("safe").call(t,(r=29,n=338,o.callWrap(o.contextOrFrameLookup(t,a,"outputLockedField"),"outputLockedField",t,[o.contextOrFrameLookup(t,a,"preferredLanguage")]))),e.opts.autoescape)),L+="
\n "),L+="\n "):(L+='\n
\n ',L+=o.suppressValue(e.getFilter("i18n").call(t,"lay.base.Clear:Clear"),e.opts.autoescape),L+='\n \n \n
\n
',L+=o.suppressValue(e.getFilter("i18n").call(t,"cem.cc.SelectLanguage:Please select a language from the list"),e.opts.autoescape),L+="
\n ",d||(L+='\n
',L+=o.suppressValue(e.getFilter("i18n").call(t,"cem.cc.DuplicateLanguage:Duplicate languages not allowed"),e.opts.autoescape),L+="
\n "),L+="\n "),L+='\n
\n
\n ',o.contextOrFrameLookup(t,a,"disabled")||(L+="\n ",d&&(L+='\n
\n
\n
\n \n \n
\n
\n '),L+='\n
\n '),L+="\n
\n
\n",a=b,new o.SafeString(L)});t.addExport("createEntry"),t.setVariable("createEntry",l),p+="\n\n";var u=o.makeMacro(["id","index","locationId"],["value","includeSort","placeHolder","disabled","locked"],function(s,p,l,u){var c=a;a=new o.Frame,u=u||{},Object.prototype.hasOwnProperty.call(u,"caller")&&a.set("caller",u.caller),a.set("id",s),a.set("index",p),a.set("locationId",l),a.set("value",Object.prototype.hasOwnProperty.call(u,"value")?u.value:""),a.set("includeSort",!!Object.prototype.hasOwnProperty.call(u,"includeSort")&&u.includeSort),a.set("placeHolder",Object.prototype.hasOwnProperty.call(u,"placeHolder")?u.placeHolder:e.getFilter("i18n").call(t,"cem.cc.CityOrCountyOfCemetery:Location for search (Required)")),a.set("disabled",!!Object.prototype.hasOwnProperty.call(u,"disabled")&&u.disabled),a.set("locked",!!Object.prototype.hasOwnProperty.call(u,"locked")&&u.locked);var d,i="";return i+="\n",d=s+"-"+p,a.set("indexedId",d,!0),a.topLevel&&t.setVariable("indexedId",d),a.topLevel&&t.addExport("indexedId",d),i+='\n\n
\n ',o.contextOrFrameLookup(t,a,"disabled")?(i+='\n
',i+=o.suppressValue(o.contextOrFrameLookup(t,a,"placeHolder"),e.opts.autoescape),o.contextOrFrameLookup(t,a,"locked")&&(i+=" - ",i+=o.suppressValue(e.getFilter("safe").call(t,(r=67,n=301,o.callWrap(o.contextOrFrameLookup(t,a,"outputLockedField"),"outputLockedField",t,[o.contextOrFrameLookup(t,a,"value")]))),e.opts.autoescape)),i+="
\n "):(i+='\n
\n \n ',i+=o.suppressValue(e.getFilter("i18n").call(t,"lay.base.Clear:Clear"),e.opts.autoescape),i+='\n
\n
\n \n \n "),i+='\n
\n
\n
\n ',o.contextOrFrameLookup(t,a,"includeSort")&&(i+='\n
\n
\n
\n \n \n
\n
\n '),i+='\n
\n
\n\n
\n',a=c,new o.SafeString(i)});t.addExport("createLocationEntry"),t.setVariable("createLocationEntry",u),p+="\n\n","location"==o.contextOrFrameLookup(t,a,"type")?(p+="\n ",p+=o.suppressValue((r=98,n=23,o.callWrap(u,"createLocationEntry",t,[o.makeKeywordArgs({value:o.contextOrFrameLookup(t,a,"value"),id:o.contextOrFrameLookup(t,a,"id"),includeSort:o.contextOrFrameLookup(t,a,"includeSort"),index:o.contextOrFrameLookup(t,a,"index"),placeHolder:o.contextOrFrameLookup(t,a,"placeHolder"),length:2})])),e.opts.autoescape),p+="\n"):(p+="\n ",p+=o.suppressValue((r=100,n=15,o.callWrap(l,"createEntry",t,[o.makeKeywordArgs({value:o.contextOrFrameLookup(t,a,"value"),type:o.contextOrFrameLookup(t,a,"type"),id:o.contextOrFrameLookup(t,a,"id"),includeSort:o.contextOrFrameLookup(t,a,"includeSort"),index:o.contextOrFrameLookup(t,a,"index"),preferredLanguage:o.contextOrFrameLookup(t,a,"preferredLanguage"),placeHolder:o.contextOrFrameLookup(t,a,"placeHolder"),languageId:o.contextOrFrameLookup(t,a,"languageId"),newItem:o.contextOrFrameLookup(t,a,"newItem")})])),e.opts.autoescape),p+="\n"),s(null,p)}catch(e){s(o.handleError(e,r,n))}}},e.exports=n(s,o,s.nunjucksPrecompiled["public/templates/macro/localeEntry.html"],r)}}]);
//# sourceMappingURL=3406.1ff935d09a4aa9b7a2d3.js.map