"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi||[]).push([[4608],{48837:(e,t,a)=>{a.d(t,{$M:()=>m,Cw:()=>D,F9:()=>l,Ib:()=>c,T4:()=>v,_B:()=>n,qU:()=>N,ws:()=>d});var o=a(42049),i=a(31031),r=a(6702),n=(e=>(e.Unstyled="unstyled",e.HeaderOne="header-one",e.HeaderTwo="header-two",e.HeaderThree="header-three",e.HeaderFour="header-four",e.HeaderFive="header-five",e.HeaderSix="header-six",e.UnorderedListItem="unordered-list-item",e.OrderedListItem="ordered-list-item",e.Blockquote="blockquote",e.CodeBlock="code-block",e.Atomic="atomic",e))(n||{}),d=(e=>(e[e["header-one"]=1]="header-one",e[e["header-two"]=2]="header-two",e[e["header-three"]=3]="header-three",e[e["header-four"]=4]="header-four",e[e["header-five"]=5]="header-five",e[e["header-six"]=6]="header-six",e))(d||{});const l={"unordered-list-item":o.A.BULLETED_LIST,"ordered-list-item":o.A.ORDERED_LIST},u=((0,r.P)(Object.entries(l).map((([e,t])=>[t,e]))),{[i.D8]:o.A.BUTTON,[i.DL]:o.A.BUTTON,[i.n6]:o.A.DIVIDER,[i.gg]:o.A.FILE,[i.EU]:o.A.GALLERY,[i.Dr]:o.A.GIF,[i.dk]:o.A.HTML,[i.V5]:o.A.IMAGE,[i.XU]:o.A.IMAGE,[i.vT]:o.A.COLLAPSIBLE_LIST,[i.$I]:o.A.LINK_PREVIEW,[i.K$]:o.A.MAP,[i.Rx]:o.A.APP_EMBED,[i.pE]:o.A.VIDEO,[i.W5]:o.A.AUDIO,[i.Rm]:o.A.VIDEO,[i.N]:o.A.POLL,[i._U]:o.A.TABLE,[i.Fl]:o.A.EMBED,[i.SJ]:o.A.EXTERNAL}),s=[i.XU,i.Rm],v=((0,r.P)(Object.entries(u).filter((([e])=>!s.includes(e))).map((([e,t])=>[t,e]))),{BOLD:o.g.BOLD,ITALIC:o.g.ITALIC,UNDERLINE:o.g.UNDERLINE,[i.Of]:o.g.SPOILER,[i.Dv]:o.g.ANCHOR,[i.iZ]:o.g.MENTION,[i.y1]:o.g.LINK,[i.SJ]:o.g.EXTERNAL}),c={BOLD:{type:o.g.BOLD,fontWeightValue:700},NOT_BOLD:{type:o.g.BOLD,fontWeightValue:400},ITALIC:{type:o.g.ITALIC,italicData:!0},NOT_ITALIC:{type:o.g.ITALIC,italicData:!1},UNDERLINE:{type:o.g.UNDERLINE,underlineData:!0},NOT_UNDERLINE:{type:o.g.UNDERLINE,underlineData:!1}},D={...u,...v},O=((0,r.P)(Object.entries(v).map((([e,t])=>[t,e]))),i.Dv,i.y1,i.iZ,{unstyled:"paragraphData","unordered-list-item":"paragraphData","ordered-list-item":"paragraphData","header-one":"headingData","header-two":"headingData","header-three":"headingData","header-four":"headingData","header-five":"headingData","header-six":"headingData","code-block":"codeBlockData",blockquote:"paragraphData"}),S=(0,r.P)(Object.entries(u).map((([e,t])=>[e,i.fC[t]]))),N={...{[i.Dv]:"anchorData",[i.y1]:"linkData",[i.iZ]:"mentionData",EMOJI_TYPE:"emojiData"},COLOR:"colorData",FONT_SIZE:"fontSizeData"},m={...N,...S,...O}},684:(e,t,a)=>{a.d(t,{Kk:()=>ve});const o={seconds:"0",nanos:0},i={fromJSON(e){const t={...o};return t.seconds=void 0!==e.seconds&&null!==e.seconds?String(e.seconds):"0",t.nanos=void 0!==e.nanos&&null!==e.nanos?Number(e.nanos):0,t},toJSON(e){const t={};return void 0!==e.seconds&&(t.seconds=e.seconds),void 0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t}};var r=a(30257),n=a(9792);const d={},l={fromJSON(e){const t={...d};return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),t}};var u=a(69272),s=a(89597),v=a(19927),c=a(91639);const D={level:0},O={fromJSON(e){const t={...D};return t.level=void 0!==e.level&&null!==e.level?Number(e.level):0,t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):void 0,t},toJSON(e){const t={};return void 0!==e.level&&(t.level=Math.round(e.level)),void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),void 0!==e.indentation&&(t.indentation=e.indentation),t}};var S=a(60432),N=a(85336),m=a(15590),L=a(55323);const E={},f={fromJSON(e){const t={...E};return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):void 0,t.level=void 0!==e.level&&null!==e.level?Number(e.level):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),void 0!==e.indentation&&(t.indentation=e.indentation),void 0!==e.level&&(t.level=e.level),t}};var g=a(67684),A=a(31412),J=a(77782),p=a(34416),T=a(57508),h=a(18117),I=(e=>(e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM",e.UNRECOGNIZED="UNRECOGNIZED",e))(I||{});const b={},B={fromJSON(e){const t={...b};return t.cellStyle=void 0!==e.cellStyle&&null!==e.cellStyle?P.fromJSON(e.cellStyle):void 0,t.borderColors=void 0!==e.borderColors&&null!==e.borderColors?k.fromJSON(e.borderColors):void 0,t},toJSON(e){const t={};return void 0!==e.cellStyle&&(t.cellStyle=e.cellStyle?P.toJSON(e.cellStyle):void 0),void 0!==e.borderColors&&(t.borderColors=e.borderColors?k.toJSON(e.borderColors):void 0),t}},y={verticalAlignment:I.TOP},P={fromJSON(e){const t={...y};return t.verticalAlignment=void 0!==e.verticalAlignment&&null!==e.verticalAlignment?function(e){switch(e){case 0:case"TOP":return I.TOP;case 1:case"MIDDLE":return I.MIDDLE;case 2:case"BOTTOM":return I.BOTTOM;default:return I.UNRECOGNIZED}}(e.verticalAlignment):I.TOP,t.backgroundColor=void 0!==e.backgroundColor&&null!==e.backgroundColor?String(e.backgroundColor):void 0,t},toJSON(e){const t={};return void 0!==e.verticalAlignment&&(t.verticalAlignment=function(e){switch(e){case I.TOP:return"TOP";case I.MIDDLE:return"MIDDLE";case I.BOTTOM:return"BOTTOM";default:return"UNKNOWN"}}(e.verticalAlignment)),void 0!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),t}},C={},k={fromJSON(e){const t={...C};return t.left=void 0!==e.left&&null!==e.left?String(e.left):void 0,t.right=void 0!==e.right&&null!==e.right?String(e.right):void 0,t.top=void 0!==e.top&&null!==e.top?String(e.top):void 0,t.bottom=void 0!==e.bottom&&null!==e.bottom?String(e.bottom):void 0,t},toJSON(e){const t={};return void 0!==e.left&&(t.left=e.left),void 0!==e.right&&(t.right=e.right),void 0!==e.top&&(t.top=e.top),void 0!==e.bottom&&(t.bottom=e.bottom),t}};var _=a(16048);const R={},x={fromJSON(e){const t={...R};return t.fields=Object.entries(e.fields??{}).reduce(((e,[t,a])=>(e[t]=M.fromJSON(a),e)),{}),t},toJSON(e){const t={fields:{}};return e.fields&&Object.entries(e.fields).forEach((([e,a])=>{t.fields[e]=M.toJSON(a)})),t}},V={},M={fromJSON(e){const t={...V};return t.nullValue=void 0!==e.nullValue&&null!==e.nullValue?function(e){switch(e){case 0:case"NULL_VALUE":return _.X.NULL_VALUE;default:return _.X.UNRECOGNIZED}}(e.nullValue):void 0,t.numberValue=void 0!==e.numberValue&&null!==e.numberValue?Number(e.numberValue):void 0,t.stringValue=void 0!==e.stringValue&&null!==e.stringValue?String(e.stringValue):void 0,t.boolValue=void 0!==e.boolValue&&null!==e.boolValue?Boolean(e.boolValue):void 0,t.structValue=void 0!==e.structValue&&null!==e.structValue?x.fromJSON(e.structValue):void 0,t.listValue=void 0!==e.listValue&&null!==e.listValue?w.fromJSON(e.listValue):void 0,t},toJSON(e){const t={};return void 0!==e.nullValue&&(t.nullValue=void 0!==e.nullValue?e.nullValue===_.X.NULL_VALUE?"NULL_VALUE":"UNKNOWN":void 0),void 0!==e.numberValue&&(t.numberValue=e.numberValue),void 0!==e.stringValue&&(t.stringValue=e.stringValue),void 0!==e.boolValue&&(t.boolValue=e.boolValue),void 0!==e.structValue&&(t.structValue=e.structValue?x.toJSON(e.structValue):void 0),void 0!==e.listValue&&(t.listValue=e.listValue?w.toJSON(e.listValue):void 0),t}},U={},w={fromJSON(e){const t={...U};return t.values=(e.values??[]).map((e=>M.fromJSON(e))),t},toJSON(e){const t={};return e.values?t.values=e.values.map((e=>e?M.toJSON(e):void 0)):t.values=[],t}};var F=a(10983);const H={indentation:0},G={fromJSON(e){const t={...H};return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t.offset=void 0!==e.offset&&null!==e.offset?Number(e.offset):void 0,t.start=void 0!==e.start&&null!==e.start?Number(e.start):void 0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),void 0!==e.offset&&(t.offset=e.offset),void 0!==e.start&&(t.start=e.start),t}},W={indentation:0},K={fromJSON(e){const t={...W};return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t.offset=void 0!==e.offset&&null!==e.offset?Number(e.offset):void 0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),void 0!==e.offset&&(t.offset=e.offset),t}},X={indentation:0},q={fromJSON(e){const t={...X};return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),t}},Z={},Y={fromJSON(e){const t={...Z};return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),t}},z={anchor:""},j={fromJSON(e){const t={...z};return t.anchor=void 0!==e.anchor&&null!==e.anchor?String(e.anchor):"",t},toJSON(e){const t={};return void 0!==e.anchor&&(t.anchor=e.anchor),t}},$={},Q={fromJSON(e){const t={...$};return t.background=void 0!==e.background&&null!==e.background?String(e.background):void 0,t.foreground=void 0!==e.foreground&&null!==e.foreground?String(e.foreground):void 0,t},toJSON(e){const t={};return void 0!==e.background&&(t.background=e.background),void 0!==e.foreground&&(t.foreground=e.foreground),t}},ee={},te={fromJSON(e){const t={...ee};return t.link=void 0!==e.link&&null!==e.link?n.N_.fromJSON(e.link):void 0,t},toJSON(e){const t={};return void 0!==e.link&&(t.link=e.link?n.N_.toJSON(e.link):void 0),t}},ae={name:"",slug:""},oe={fromJSON(e){const t={...ae};return t.name=void 0!==e.name&&null!==e.name?String(e.name):"",t.slug=void 0!==e.slug&&null!==e.slug?String(e.slug):"",t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.name&&(t.name=e.name),void 0!==e.slug&&(t.slug=e.slug),void 0!==e.id&&(t.id=e.id),t}};var ie=a(89830);const re={unit:ie.P.PX},ne={fromJSON(e){const t={...re};return t.unit=void 0!==e.unit&&null!==e.unit?function(e){switch(e){case 0:case"PX":return ie.P.PX;case 1:case"EM":return ie.P.EM;default:return ie.P.UNRECOGNIZED}}(e.unit):ie.P.PX,t.value=void 0!==e.value&&null!==e.value?Number(e.value):void 0,t},toJSON(e){const t={};return void 0!==e.unit&&(t.unit=function(e){switch(e){case ie.P.PX:return"PX";case ie.P.EM:return"EM";default:return"UNKNOWN"}}(e.unit)),void 0!==e.value&&(t.value=e.value),t}},de={},le={fromJSON(e){const t={...de};return t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.id&&(t.id=e.id),t}};var ue=a(42049);const se={},ve={fromJSON(e){const t={...se};return t.nodes=(e.nodes??[]).map((e=>De.fromJSON(e))),t.metadata=void 0!==e.metadata&&null!==e.metadata?ge.fromJSON(e.metadata):void 0,t.documentStyle=void 0!==e.documentStyle&&null!==e.documentStyle?Te.fromJSON(e.documentStyle):void 0,t},toJSON(e){const t={};return e.nodes?t.nodes=e.nodes.map((e=>e?De.toJSON(e):void 0)):t.nodes=[],void 0!==e.metadata&&(t.metadata=e.metadata?ge.toJSON(e.metadata):void 0),void 0!==e.documentStyle&&(t.documentStyle=e.documentStyle?Te.toJSON(e.documentStyle):void 0),t}},ce={type:ue.A.PARAGRAPH,id:""},De={fromJSON(e){const t={...ce};return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"PARAGRAPH":return ue.A.PARAGRAPH;case 1:case"TEXT":return ue.A.TEXT;case 2:case"HEADING":return ue.A.HEADING;case 3:case"BULLETED_LIST":return ue.A.BULLETED_LIST;case 4:case"ORDERED_LIST":return ue.A.ORDERED_LIST;case 5:case"LIST_ITEM":return ue.A.LIST_ITEM;case 6:case"BLOCKQUOTE":return ue.A.BLOCKQUOTE;case 7:case"CODE_BLOCK":return ue.A.CODE_BLOCK;case 8:case"VIDEO":return ue.A.VIDEO;case 9:case"DIVIDER":return ue.A.DIVIDER;case 10:case"FILE":return ue.A.FILE;case 11:case"GALLERY":return ue.A.GALLERY;case 12:case"GIF":return ue.A.GIF;case 13:case"HTML":return ue.A.HTML;case 14:case"IMAGE":return ue.A.IMAGE;case 15:case"LINK_PREVIEW":return ue.A.LINK_PREVIEW;case 16:case"MAP":return ue.A.MAP;case 17:case"POLL":return ue.A.POLL;case 18:case"APP_EMBED":return ue.A.APP_EMBED;case 19:case"BUTTON":return ue.A.BUTTON;case 20:case"COLLAPSIBLE_LIST":return ue.A.COLLAPSIBLE_LIST;case 21:case"TABLE":return ue.A.TABLE;case 22:case"EMBED":return ue.A.EMBED;case 23:case"COLLAPSIBLE_ITEM":return ue.A.COLLAPSIBLE_ITEM;case 24:case"COLLAPSIBLE_ITEM_TITLE":return ue.A.COLLAPSIBLE_ITEM_TITLE;case 25:case"COLLAPSIBLE_ITEM_BODY":return ue.A.COLLAPSIBLE_ITEM_BODY;case 26:case"TABLE_CELL":return ue.A.TABLE_CELL;case 27:case"TABLE_ROW":return ue.A.TABLE_ROW;case 28:case"EXTERNAL":return ue.A.EXTERNAL;case 29:case"AUDIO":return ue.A.AUDIO;case 30:case"CAPTION":return ue.A.CAPTION;default:return ue.A.UNRECOGNIZED}}(e.type):ue.A.PARAGRAPH,t.id=void 0!==e.id&&null!==e.id?String(e.id):"",t.nodes=(e.nodes??[]).map((e=>De.fromJSON(e))),t.style=void 0!==e.style&&null!==e.style?Se.fromJSON(e.style):void 0,t.buttonData=void 0!==e.buttonData&&null!==e.buttonData?r.vL.fromJSON(e.buttonData):void 0,t.codeBlockData=void 0!==e.codeBlockData&&null!==e.codeBlockData?l.fromJSON(e.codeBlockData):void 0,t.dividerData=void 0!==e.dividerData&&null!==e.dividerData?u.ws.fromJSON(e.dividerData):void 0,t.fileData=void 0!==e.fileData&&null!==e.fileData?s.HW.fromJSON(e.fileData):void 0,t.galleryData=void 0!==e.galleryData&&null!==e.galleryData?v.J_.fromJSON(e.galleryData):void 0,t.gifData=void 0!==e.gifData&&null!==e.gifData?c.P.fromJSON(e.gifData):void 0,t.headingData=void 0!==e.headingData&&null!==e.headingData?O.fromJSON(e.headingData):void 0,t.htmlData=void 0!==e.htmlData&&null!==e.htmlData?S.mI.fromJSON(e.htmlData):void 0,t.imageData=void 0!==e.imageData&&null!==e.imageData?N.m.fromJSON(e.imageData):void 0,t.linkPreviewData=void 0!==e.linkPreviewData&&null!==e.linkPreviewData?m.d.fromJSON(e.linkPreviewData):void 0,t.mapData=void 0!==e.mapData&&null!==e.mapData?L.hk.fromJSON(e.mapData):void 0,t.paragraphData=void 0!==e.paragraphData&&null!==e.paragraphData?f.fromJSON(e.paragraphData):void 0,t.pollData=void 0!==e.pollData&&null!==e.pollData?g.s9.fromJSON(e.pollData):void 0,t.textData=void 0!==e.textData&&null!==e.textData?me.fromJSON(e.textData):void 0,t.appEmbedData=void 0!==e.appEmbedData&&null!==e.appEmbedData?A.$L.fromJSON(e.appEmbedData):void 0,t.videoData=void 0!==e.videoData&&null!==e.videoData?J.e.fromJSON(e.videoData):void 0,t.embedData=void 0!==e.embedData&&null!==e.embedData?p.Y.fromJSON(e.embedData):void 0,t.collapsibleListData=void 0!==e.collapsibleListData&&null!==e.collapsibleListData?T.b0.fromJSON(e.collapsibleListData):void 0,t.tableData=void 0!==e.tableData&&null!==e.tableData?h.l.fromJSON(e.tableData):void 0,t.tableCellData=void 0!==e.tableCellData&&null!==e.tableCellData?B.fromJSON(e.tableCellData):void 0,t.externalData=void 0!==e.externalData&&null!==e.externalData?x.fromJSON(e.externalData):void 0,t.audioData=void 0!==e.audioData&&null!==e.audioData?F.z.fromJSON(e.audioData):void 0,t.orderedListData=void 0!==e.orderedListData&&null!==e.orderedListData?G.fromJSON(e.orderedListData):void 0,t.bulletedListData=void 0!==e.bulletedListData&&null!==e.bulletedListData?K.fromJSON(e.bulletedListData):void 0,t.blockquoteData=void 0!==e.blockquoteData&&null!==e.blockquoteData?q.fromJSON(e.blockquoteData):void 0,t.captionData=void 0!==e.captionData&&null!==e.captionData?Y.fromJSON(e.captionData):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case ue.A.PARAGRAPH:return"PARAGRAPH";case ue.A.TEXT:return"TEXT";case ue.A.HEADING:return"HEADING";case ue.A.BULLETED_LIST:return"BULLETED_LIST";case ue.A.ORDERED_LIST:return"ORDERED_LIST";case ue.A.LIST_ITEM:return"LIST_ITEM";case ue.A.BLOCKQUOTE:return"BLOCKQUOTE";case ue.A.CODE_BLOCK:return"CODE_BLOCK";case ue.A.VIDEO:return"VIDEO";case ue.A.DIVIDER:return"DIVIDER";case ue.A.FILE:return"FILE";case ue.A.GALLERY:return"GALLERY";case ue.A.GIF:return"GIF";case ue.A.HTML:return"HTML";case ue.A.IMAGE:return"IMAGE";case ue.A.LINK_PREVIEW:return"LINK_PREVIEW";case ue.A.MAP:return"MAP";case ue.A.POLL:return"POLL";case ue.A.APP_EMBED:return"APP_EMBED";case ue.A.BUTTON:return"BUTTON";case ue.A.COLLAPSIBLE_LIST:return"COLLAPSIBLE_LIST";case ue.A.TABLE:return"TABLE";case ue.A.EMBED:return"EMBED";case ue.A.COLLAPSIBLE_ITEM:return"COLLAPSIBLE_ITEM";case ue.A.COLLAPSIBLE_ITEM_TITLE:return"COLLAPSIBLE_ITEM_TITLE";case ue.A.COLLAPSIBLE_ITEM_BODY:return"COLLAPSIBLE_ITEM_BODY";case ue.A.TABLE_CELL:return"TABLE_CELL";case ue.A.TABLE_ROW:return"TABLE_ROW";case ue.A.EXTERNAL:return"EXTERNAL";case ue.A.AUDIO:return"AUDIO";case ue.A.CAPTION:return"CAPTION";default:return"UNKNOWN"}}(e.type)),void 0!==e.id&&(t.id=e.id),e.nodes?t.nodes=e.nodes.map((e=>e?De.toJSON(e):void 0)):t.nodes=[],void 0!==e.style&&(t.style=e.style?Se.toJSON(e.style):void 0),void 0!==e.buttonData&&(t.buttonData=e.buttonData?r.vL.toJSON(e.buttonData):void 0),void 0!==e.codeBlockData&&(t.codeBlockData=e.codeBlockData?l.toJSON(e.codeBlockData):void 0),void 0!==e.dividerData&&(t.dividerData=e.dividerData?u.ws.toJSON(e.dividerData):void 0),void 0!==e.fileData&&(t.fileData=e.fileData?s.HW.toJSON(e.fileData):void 0),void 0!==e.galleryData&&(t.galleryData=e.galleryData?v.J_.toJSON(e.galleryData):void 0),void 0!==e.gifData&&(t.gifData=e.gifData?c.P.toJSON(e.gifData):void 0),void 0!==e.headingData&&(t.headingData=e.headingData?O.toJSON(e.headingData):void 0),void 0!==e.htmlData&&(t.htmlData=e.htmlData?S.mI.toJSON(e.htmlData):void 0),void 0!==e.imageData&&(t.imageData=e.imageData?N.m.toJSON(e.imageData):void 0),void 0!==e.linkPreviewData&&(t.linkPreviewData=e.linkPreviewData?m.d.toJSON(e.linkPreviewData):void 0),void 0!==e.mapData&&(t.mapData=e.mapData?L.hk.toJSON(e.mapData):void 0),void 0!==e.paragraphData&&(t.paragraphData=e.paragraphData?f.toJSON(e.paragraphData):void 0),void 0!==e.pollData&&(t.pollData=e.pollData?g.s9.toJSON(e.pollData):void 0),void 0!==e.textData&&(t.textData=e.textData?me.toJSON(e.textData):void 0),void 0!==e.appEmbedData&&(t.appEmbedData=e.appEmbedData?A.$L.toJSON(e.appEmbedData):void 0),void 0!==e.videoData&&(t.videoData=e.videoData?J.e.toJSON(e.videoData):void 0),void 0!==e.embedData&&(t.embedData=e.embedData?p.Y.toJSON(e.embedData):void 0),void 0!==e.collapsibleListData&&(t.collapsibleListData=e.collapsibleListData?T.b0.toJSON(e.collapsibleListData):void 0),void 0!==e.tableData&&(t.tableData=e.tableData?h.l.toJSON(e.tableData):void 0),void 0!==e.tableCellData&&(t.tableCellData=e.tableCellData?B.toJSON(e.tableCellData):void 0),void 0!==e.externalData&&(t.externalData=e.externalData?x.toJSON(e.externalData):void 0),void 0!==e.audioData&&(t.audioData=e.audioData?F.z.toJSON(e.audioData):void 0),void 0!==e.orderedListData&&(t.orderedListData=e.orderedListData?G.toJSON(e.orderedListData):void 0),void 0!==e.bulletedListData&&(t.bulletedListData=e.bulletedListData?K.toJSON(e.bulletedListData):void 0),void 0!==e.blockquoteData&&(t.blockquoteData=e.blockquoteData?q.toJSON(e.blockquoteData):void 0),void 0!==e.captionData&&(t.captionData=e.captionData?Y.toJSON(e.captionData):void 0),t}},Oe={},Se={fromJSON(e){const t={...Oe};return t.paddingTop=void 0!==e.paddingTop&&null!==e.paddingTop?String(e.paddingTop):void 0,t.paddingBottom=void 0!==e.paddingBottom&&null!==e.paddingBottom?String(e.paddingBottom):void 0,t.backgroundColor=void 0!==e.backgroundColor&&null!==e.backgroundColor?String(e.backgroundColor):void 0,t},toJSON(e){const t={};return void 0!==e.paddingTop&&(t.paddingTop=e.paddingTop),void 0!==e.paddingBottom&&(t.paddingBottom=e.paddingBottom),void 0!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),t}},Ne={text:""},me={fromJSON(e){const t={...Ne};return t.text=void 0!==e.text&&null!==e.text?String(e.text):"",t.decorations=(e.decorations??[]).map((e=>Ee.fromJSON(e))),t},toJSON(e){const t={};return void 0!==e.text&&(t.text=e.text),e.decorations?t.decorations=e.decorations.map((e=>e?Ee.toJSON(e):void 0)):t.decorations=[],t}},Le={type:ue.g.BOLD},Ee={fromJSON(e){const t={...Le};return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"BOLD":return ue.g.BOLD;case 1:case"ITALIC":return ue.g.ITALIC;case 2:case"UNDERLINE":return ue.g.UNDERLINE;case 3:case"SPOILER":return ue.g.SPOILER;case 4:case"ANCHOR":return ue.g.ANCHOR;case 5:case"MENTION":return ue.g.MENTION;case 6:case"LINK":return ue.g.LINK;case 7:case"COLOR":return ue.g.COLOR;case 8:case"FONT_SIZE":return ue.g.FONT_SIZE;case 9:case"EXTERNAL":return ue.g.EXTERNAL;default:return ue.g.UNRECOGNIZED}}(e.type):ue.g.BOLD,t.anchorData=void 0!==e.anchorData&&null!==e.anchorData?j.fromJSON(e.anchorData):void 0,t.colorData=void 0!==e.colorData&&null!==e.colorData?Q.fromJSON(e.colorData):void 0,t.linkData=void 0!==e.linkData&&null!==e.linkData?te.fromJSON(e.linkData):void 0,t.mentionData=void 0!==e.mentionData&&null!==e.mentionData?oe.fromJSON(e.mentionData):void 0,t.fontSizeData=void 0!==e.fontSizeData&&null!==e.fontSizeData?ne.fromJSON(e.fontSizeData):void 0,t.fontWeightValue=void 0!==e.fontWeightValue&&null!==e.fontWeightValue?Number(e.fontWeightValue):void 0,t.italicData=void 0!==e.italicData&&null!==e.italicData?Boolean(e.italicData):void 0,t.underlineData=void 0!==e.underlineData&&null!==e.underlineData?Boolean(e.underlineData):void 0,t.spoilerData=void 0!==e.spoilerData&&null!==e.spoilerData?le.fromJSON(e.spoilerData):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case ue.g.BOLD:return"BOLD";case ue.g.ITALIC:return"ITALIC";case ue.g.UNDERLINE:return"UNDERLINE";case ue.g.SPOILER:return"SPOILER";case ue.g.ANCHOR:return"ANCHOR";case ue.g.MENTION:return"MENTION";case ue.g.LINK:return"LINK";case ue.g.COLOR:return"COLOR";case ue.g.FONT_SIZE:return"FONT_SIZE";case ue.g.EXTERNAL:return"EXTERNAL";default:return"UNKNOWN"}}(e.type)),void 0!==e.anchorData&&(t.anchorData=e.anchorData?j.toJSON(e.anchorData):void 0),void 0!==e.colorData&&(t.colorData=e.colorData?Q.toJSON(e.colorData):void 0),void 0!==e.linkData&&(t.linkData=e.linkData?te.toJSON(e.linkData):void 0),void 0!==e.mentionData&&(t.mentionData=e.mentionData?oe.toJSON(e.mentionData):void 0),void 0!==e.fontSizeData&&(t.fontSizeData=e.fontSizeData?ne.toJSON(e.fontSizeData):void 0),void 0!==e.fontWeightValue&&(t.fontWeightValue=e.fontWeightValue),void 0!==e.italicData&&(t.italicData=e.italicData),void 0!==e.underlineData&&(t.underlineData=e.underlineData),void 0!==e.spoilerData&&(t.spoilerData=e.spoilerData?le.toJSON(e.spoilerData):void 0),t}},fe={version:0},ge={fromJSON(e){const t={...fe};return t.version=void 0!==e.version&&null!==e.version?Number(e.version):0,t.createdTimestamp=void 0!==e.createdTimestamp&&null!==e.createdTimestamp?he(e.createdTimestamp):void 0,t.updatedTimestamp=void 0!==e.updatedTimestamp&&null!==e.updatedTimestamp?he(e.updatedTimestamp):void 0,t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.version&&(t.version=Math.round(e.version)),void 0!==e.createdTimestamp&&(t.createdTimestamp=e.createdTimestamp.toISOString()),void 0!==e.updatedTimestamp&&(t.updatedTimestamp=e.updatedTimestamp.toISOString()),void 0!==e.id&&(t.id=e.id),t}},Ae={},Je={fromJSON(e){const t={...Ae};return t.decorations=(e.decorations??[]).map((e=>Ee.fromJSON(e))),t.nodeStyle=void 0!==e.nodeStyle&&null!==e.nodeStyle?Se.fromJSON(e.nodeStyle):void 0,t.lineHeight=void 0!==e.lineHeight&&null!==e.lineHeight?String(e.lineHeight):void 0,t},toJSON(e){const t={};return e.decorations?t.decorations=e.decorations.map((e=>e?Ee.toJSON(e):void 0)):t.decorations=[],void 0!==e.nodeStyle&&(t.nodeStyle=e.nodeStyle?Se.toJSON(e.nodeStyle):void 0),void 0!==e.lineHeight&&(t.lineHeight=e.lineHeight),t}},pe={},Te={fromJSON(e){const t={...pe};return t.headerOne=void 0!==e.headerOne&&null!==e.headerOne?Je.fromJSON(e.headerOne):void 0,t.headerTwo=void 0!==e.headerTwo&&null!==e.headerTwo?Je.fromJSON(e.headerTwo):void 0,t.headerThree=void 0!==e.headerThree&&null!==e.headerThree?Je.fromJSON(e.headerThree):void 0,t.headerFour=void 0!==e.headerFour&&null!==e.headerFour?Je.fromJSON(e.headerFour):void 0,t.headerFive=void 0!==e.headerFive&&null!==e.headerFive?Je.fromJSON(e.headerFive):void 0,t.headerSix=void 0!==e.headerSix&&null!==e.headerSix?Je.fromJSON(e.headerSix):void 0,t.paragraph=void 0!==e.paragraph&&null!==e.paragraph?Je.fromJSON(e.paragraph):void 0,t.blockquote=void 0!==e.blockquote&&null!==e.blockquote?Je.fromJSON(e.blockquote):void 0,t.codeBlock=void 0!==e.codeBlock&&null!==e.codeBlock?Je.fromJSON(e.codeBlock):void 0,t},toJSON(e){const t={};return void 0!==e.headerOne&&(t.headerOne=e.headerOne?Je.toJSON(e.headerOne):void 0),void 0!==e.headerTwo&&(t.headerTwo=e.headerTwo?Je.toJSON(e.headerTwo):void 0),void 0!==e.headerThree&&(t.headerThree=e.headerThree?Je.toJSON(e.headerThree):void 0),void 0!==e.headerFour&&(t.headerFour=e.headerFour?Je.toJSON(e.headerFour):void 0),void 0!==e.headerFive&&(t.headerFive=e.headerFive?Je.toJSON(e.headerFive):void 0),void 0!==e.headerSix&&(t.headerSix=e.headerSix?Je.toJSON(e.headerSix):void 0),void 0!==e.paragraph&&(t.paragraph=e.paragraph?Je.toJSON(e.paragraph):void 0),void 0!==e.blockquote&&(t.blockquote=e.blockquote?Je.toJSON(e.blockquote):void 0),void 0!==e.codeBlock&&(t.codeBlock=e.codeBlock?Je.toJSON(e.codeBlock):void 0),t}};function he(e){return e instanceof Date?e:"string"==typeof e?new Date(e):function(e){let t=1e3*Number(e.seconds);return t+=e.nanos/1e6,new Date(t)}(i.fromJSON(e))}}}]); //# sourceMappingURL=4608.chunk.min.js.map