{"version":3,"file":"froala.js.map","sources":["Content/Theme/global/plugins/froala-editor/js/froala_editor.min.js","Content/Theme/global/plugins/froala-editor/plugins/block_styles.min.js","Content/Theme/global/plugins/froala-editor/plugins/char_counter.min.js","Content/Theme/global/plugins/froala-editor/plugins/colors.min.js","Content/Theme/global/plugins/froala-editor/plugins/file_upload.min.js","Content/Theme/global/plugins/froala-editor/plugins/font_family.min.js","Content/Theme/global/plugins/froala-editor/plugins/font_size.min.js","Content/Theme/global/plugins/froala-editor/plugins/lists.min.js","Content/Theme/global/plugins/froala-editor/plugins/media_manager.min.js","Content/Theme/global/plugins/froala-editor/plugins/tables.min.js","Content/Theme/global/plugins/froala-editor/plugins/video.min.js","Content/Theme/global/plugins/angular-froala/froala-sanitize.js","Content/Theme/global/plugins/angular-froala/angular-froala.js"],"sourcesContent":["/*!\n * froala_editor v1.2.4 (http://editor.froala.com)\n * Copyright 2014-2014 Froala\n */\nif(\"undefined\"==typeof jQuery)throw new Error(\"Froala requires jQuery\");!function(a){\"use strict\";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,a(c).data(),\"object\"==typeof d&&d),this.valid_nodes=a.merge([],b.VALID_NODES),this.valid_nodes=a.merge(this.valid_nodes,a.map(Object.keys(this.options.blockTags),function(a){return a.toUpperCase()})),this.browser=b.browser(),this.disabledList=[],this._id=++b.count,this._events={},this.blurred=!0,this.$window=a(window),this.$document=a(document),this.$original_element=a(c),this.init(c),a(c).on(\"editable.focus\",a.proxy(function(){for(var b=1;b<=a.Editable.count;b++)b!=this._id&&a(window).trigger(\"blur.\"+b)},this))};b.initializers=[],b.count=0,b.VALID_NODES=[\"P\",\"DIV\",\"LI\",\"TD\",\"TH\"],b.LANGS=[],b.DEFAULTS={allowedAttrs:[\"accept\",\"accept-charset\",\"accesskey\",\"action\",\"align\",\"alt\",\"async\",\"autocomplete\",\"autofocus\",\"autoplay\",\"autosave\",\"background\",\"bgcolor\",\"border\",\"charset\",\"cellpadding\",\"cellspacing\",\"checked\",\"cite\",\"class\",\"color\",\"cols\",\"colspan\",\"contenteditable\",\"contextmenu\",\"controls\",\"coords\",\"data\",\"data-.*\",\"datetime\",\"default\",\"defer\",\"dir\",\"dirname\",\"disabled\",\"download\",\"draggable\",\"dropzone\",\"enctype\",\"for\",\"form\",\"formaction\",\"headers\",\"height\",\"hidden\",\"high\",\"href\",\"hreflang\",\"icon\",\"id\",\"ismap\",\"itemprop\",\"keytype\",\"kind\",\"label\",\"lang\",\"language\",\"list\",\"loop\",\"low\",\"max\",\"maxlength\",\"media\",\"method\",\"min\",\"multiple\",\"name\",\"novalidate\",\"open\",\"optimum\",\"pattern\",\"ping\",\"placeholder\",\"poster\",\"preload\",\"pubdate\",\"radiogroup\",\"readonly\",\"rel\",\"required\",\"reversed\",\"rows\",\"rowspan\",\"sandbox\",\"scope\",\"scoped\",\"scrolling\",\"seamless\",\"selected\",\"shape\",\"size\",\"sizes\",\"span\",\"src\",\"srcdoc\",\"srclang\",\"srcset\",\"start\",\"step\",\"summary\",\"spellcheck\",\"style\",\"tabindex\",\"target\",\"title\",\"type\",\"translate\",\"usemap\",\"value\",\"valign\",\"width\",\"wrap\"],allowedTags:[\"!--\",\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"blockquote\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"pre\",\"progress\",\"queue\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strike\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"title\",\"tr\",\"track\",\"u\",\"ul\",\"var\",\"video\",\"wbr\"],alwaysBlank:!1,alwaysVisible:!1,autosave:!1,autosaveInterval:1e4,beautifyCode:!0,blockTags:{n:\"Normal\",blockquote:\"Quote\",pre:\"Code\",h1:\"Heading 1\",h2:\"Heading 2\",h3:\"Heading 3\",h4:\"Heading 4\",h5:\"Heading 5\",h6:\"Heading 6\"},buttons:[\"bold\",\"italic\",\"underline\",\"strikeThrough\",\"fontSize\",\"fontFamily\",\"color\",\"sep\",\"formatBlock\",\"blockStyle\",\"align\",\"insertOrderedList\",\"insertUnorderedList\",\"outdent\",\"indent\",\"sep\",\"createLink\",\"insertImage\",\"insertVideo\",\"insertHorizontalRule\",\"undo\",\"redo\",\"html\"],crossDomain:!0,convertMailAddresses:!0,customButtons:{},customDropdowns:{},customText:!1,direction:\"ltr\",disableRightClick:!1,editInPopup:!1,editorClass:\"\",formatTags:[\"p\",\"pre\",\"blockquote\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"div\",\"ul\",\"ol\",\"li\",\"table\",\"tbody\",\"thead\",\"tfoot\",\"tr\",\"th\",\"td\"],headers:{},height:\"auto\",icons:{},inlineMode:!0,initOnClick:!1,language:\"en_us\",linkList:[],linkText:!1,linkClasses:{},maxHeight:\"auto\",minHeight:\"auto\",noFollow:!0,paragraphy:!0,placeholder:\"Type something\",plainPaste:!1,preloaderSrc:\"\",saveURL:null,saveParams:{},saveRequestType:\"POST\",simpleAmpersand:!1,shortcuts:!0,shortcutsAvailable:[\"show\",\"bold\",\"italic\",\"underline\",\"createLink\",\"insertImage\",\"selectAll\",\"indent\",\"outdent\",\"html\",\"formatBlock n\",\"formatBlock h1\",\"formatBlock h2\",\"formatBlock h3\",\"formatBlock h4\",\"formatBlock h5\",\"formatBlock h6\",\"formatBlock blockquote\",\"formatBlock pre\",\"strikeThrough\"],spellcheck:!1,theme:null,toolbarFixed:!0,trackScroll:!1,unlinkButton:!0,tabSpaces:!0,typingTimer:500,pastedImagesUploadRequestType:\"POST\",pastedImagesUploadURL:\"http://i.froala.com/upload_base64\",width:\"auto\",withCredentials:!1,zIndex:2e3},b.prototype.destroy=function(){this.sync(),this.addFrTag(),this.hide(),this.isHTML&&this.html(),this.$bttn_wrapper&&this.$bttn_wrapper.html(\"\").removeData().remove(),this.$editor&&this.$editor.html(\"\").removeData().remove(),this.raiseEvent(\"destroy\"),this.$popup_editor&&this.$popup_editor.html(\"\").removeData().remove(),this.$placeholder&&this.$placeholder.html(\"\").removeData().remove(),clearTimeout(this.ajaxInterval),clearTimeout(this.typingTimer),this.$element.off(\"mousedown mouseup click keydown keyup cut copy paste focus keypress touchstart touchend touch drop\"),this.$element.off(\"mousedown mouseup click keydown keyup cut copy paste focus keypress touchstart touchend touch drop\",\"**\"),a(window).off(\"mouseup.\"+this._id),a(window).off(\"keydown.\"+this._id),a(window).off(\"keyup.\"+this._id),a(window).off(\"blur.\"+this._id),a(window).off(\"hide.\"+this._id),a(window).off(\"scroll.\"+this._id),a(window).off(\"orientationchange.\"+this._id),a(document).off(\"selectionchange.\"+this._id),this.$original_element.off(\"editable\"),void 0!==this.$upload_frame&&this.$upload_frame.remove(),this.$textarea&&(this.$box.remove(),this.$textarea.removeData(\"fa.editable\"),this.$textarea.show());for(var b in this._events)delete this._events[b];this.$placeholder&&this.$placeholder.remove(),this.isLink?this.$element.removeData(\"fa.editable\"):(this.$wrapper?this.$wrapper.replaceWith(this.getHTML()):this.$element.replaceWith(this.getHTML()),this.$box&&!this.editableDisabled&&(this.$box.removeClass(\"froala-box\"),this.$box.find(\".html-switch\").remove(),this.$box.removeData(\"fa.editable\"),clearTimeout(this.typingTimer)))},b.prototype.triggerEvent=function(b,c,d,e){void 0===d&&(d=!0),void 0===e&&(e=!1),d===!0&&(this.isResizing()||this.editableDisabled||this.imageMode||!e||this.cleanify(),this.sync());var f=!0;return c||(c=[]),f=this.$original_element.triggerHandler(\"editable.\"+b,a.merge([this],c)),void 0===f?!0:f},b.prototype.syncCleanHTML=function(a,b){var c;if(b)for(c=a.replace(/])*?><\\/span>/gi,\"\");a!=c;)a=c,c=a.replace(/])*?><\\/span>/gi,\"\");else for(c=a.replace(/]*?><\\/span>/g,\"\");a!=c;)a=c,c=a.replace(/]*?><\\/span>/g,\"\");return a},b.prototype.syncClean=function(b,c){var d=\"span:empty\";c&&(d=\"span:empty:not(.f-marker)\");for(var e=!1,f=function(b,c){0===c.attributes.length&&(a(c).remove(),e=!1)},g=b.find(d);g.length&&e===!1;)e=!0,g.each(f),g=b.find(d)},b.prototype.sync=function(){if(!this.isHTML){this.raiseEvent(\"sync\"),this.disableImageResize(),this.isLink||this.isImage||this.$element.trigger(\"placeholderCheck\");var a=this.getHTML();this.trackHTML!==a&&null!=this.trackHTML?(this.refreshImageList(),this.refreshButtons(),this.cleanupLists(),this.trackHTML=a,this.$textarea&&this.$textarea.val(this.getHTML(!1,!0)),this.doingRedo||this.saveUndoStep(),this.triggerEvent(\"contentChanged\",[],!1)):null==this.trackHTML&&(this.trackHTML=a)}},b.prototype.emptyElement=function(b){if(\"IMG\"==b.tagName||a(b).find(\"img\").length>0)return!1;if(a(b).find(\"input, iframe\").length>0)return!1;for(var c=a(b).text(),d=0;d\").html(this.$textarea.val()),this.$textarea.before(this.$element).hide(),this.$textarea.parents(\"form\").bind(\"submit\",a.proxy(function(){this.isHTML?this.html():this.sync()},this))},b.prototype.initOnLink=function(b){this.isLink=!0,this.options.linkText=!0,this.selectionDisabled=!0,this.editableDisabled=!0,this.options.buttons=[],this.$element=a(b),this.options.paragraphy=!1,this.options.countCharacters=!1,this.$box=this.$element},b.prototype.initOnImage=function(b){var c=a(b).css(\"float\");\"A\"==a(b).parent().get(0).tagName&&(b=a(b).parent()),this.isImage=!0,this.editableDisabled=!0,this.imageList=[],this.options.buttons=[],this.options.paragraphy=!1,this.options.imageMargin=\"auto\",a(b).wrap(\"
\"),this.$element=a(b).parent(),this.$element.css(\"display\",\"inline-block\"),this.$element.css(\"max-width\",\"100%\"),this.$element.css(\"margin-left\",\"auto\"),this.$element.css(\"margin-right\",\"auto\"),this.$element.css(\"float\",c),this.$element.addClass(\"f-image\"),this.$box=a(b)},b.prototype.initForPopup=function(b){this.$element=a(b),this.$box=this.$element,this.editableDisabled=!0,this.options.countCharacters=!1,this.options.buttons=[],this.$element.on(\"click\",a.proxy(function(a){a.preventDefault()},this))},b.prototype.initOnDefault=function(b){\"DIV\"!=b.tagName&&this.options.buttons.indexOf(\"formatBlock\")>=0&&this.disabledList.push(\"formatBlock\"),this.$element=a(b)},b.prototype.initElement=function(b){\"TEXTAREA\"==b.tagName?this.initOnTextarea(b):\"A\"==b.tagName?this.initOnLink(b):\"IMG\"==b.tagName?this.initOnImage(b):this.options.editInPopup?this.initForPopup(b):this.initOnDefault(b),this.editableDisabled||(this.$box=this.$element.addClass(\"froala-box\"),this.$wrapper=a('
'),this.$element=a(\"
\"),this.setHTML(this.$box.html(),!1),this.$box.html(this.$wrapper.html(this.$element)),this.$element.on(\"keyup\",a.proxy(function(a){var b=a.which;13==b&&this.webkitParagraphy()},this))),this.$element.on(\"drop\",a.proxy(function(){setTimeout(a.proxy(function(){a(\"html\").click(),this.$element.find(\".f-img-wrap\").each(function(b,c){0===a(c).find(\"img\").length&&a(c).remove()}),this.$element.find(\"p:empty\").remove()},this),1)},this)),this.sync()},b.prototype.webkitParagraphy=function(){this.$element.find(\"*\").each(a.proxy(function(b,c){if(this.emptyElement(c)&&\"DIV\"===c.tagName&&void 0===a(c).attr(\"class\")&&this.options.paragraphy===!0){var d=a(\"


\");a(c).replaceWith(d),this.setSelection(d.get(0))}},this))},b.prototype.trim=function(a){return String(a).replace(/^\\s+|\\s+$/g,\"\")},b.prototype.unwrapText=function(){this.options.paragraphy||this.$element.find(\"div\").each(function(b,c){void 0===a(c).attr(\"style\")&&a(c).replaceWith(a(c).html()+\"
​\")})},b.prototype.wrapTextInElement=function(b,c){void 0===c&&(c=!1);var d=[],e=[\"SPAN\",\"A\",\"B\",\"I\",\"EM\",\"U\",\"S\",\"STRONG\",\"STRIKE\",\"FONT\",\"IMG\",\"SUB\",\"SUP\"],f=this;this.no_verify=!0;var g=function(){if(0===d.length)return!1;var b;b=a(f.options.paragraphy===!0?\"

\":\"

\");var c=a(d[0]);if(1==d.length&&\"f-marker\"==c.attr(\"class\"))return void(d=[]);for(var e=0;e0||e.indexOf(this.tagName)>=0?d.push(this):this.nodeType==Node.TEXT_NODE&&0===b.text().trim().length&&f.options.beautifyCode?b.remove():(h||c?(g(),\"BR\"===this.tagName&&b.remove()):d=[],i&&(h=!1))}),(h||c)&&g(),b.find(\"> p\").each(function(b,c){0===a(c).text().trim().length&&0===a(c).find(\"img\").length&&0===a(c).find(\"br\").length&&a(c).append(\"
\")}),b.find(\"div:empty:not([class])\").remove(),b.is(\":empty\")&&b.append(f.options.paragraphy===!0?\"


\":\"
\"),this.no_verify=!1},b.prototype.wrapText=function(a){return this.isImage||this.isLink?!1:(this.webkitParagraphy(),void this.wrapTextInElement(this.$element,a))},b.prototype.setHTML=function(b,c){this.no_verify=!0,void 0===c&&(c=!0),b=this.clean(b,!0,!1),b=b.replace(/>\\s+<\"),this.$element.html(b),this.$element.find(\"pre\").each(function(b,c){var d=a(c),e=a(c).html();e.indexOf(\"\\n\")>=0&&d.html(e.replace(/\\n/g,\"
\"))}),this.imageList=[],this.refreshImageList(),this.options.paragraphy&&this.wrapText(!0),c&&(this.restoreSelectionByMarkers(),this.sync()),this.cleanupLists(),this.$element.find(\"span\").attr(\"data-fr-verified\",!0),this.no_verify=!1},b.prototype.beforePaste=function(){this.saveSelectionByMarkers(),this.clipboardHTML=null,this.scrollPosition=a(window).scrollTop(),this.$pasteDiv=a('
').appendTo(\"body\"),this.$pasteDiv.focus(),window.setTimeout(a.proxy(this.processPaste,this),1)},b.prototype.processPaste=function(){var b=this.clipboardHTML;null===this.clipboardHTML&&(b=this.$pasteDiv.html(),this.restoreSelectionByMarkers(),a(window).scrollTop(this.scrollPosition));var c,d=this.triggerEvent(\"onPaste\",[b],!1);\"string\"==typeof d&&(b=d),b=b.replace(/\").append(c).html(),!1,!0),c=this.removeEmptyTags(c)):(c=this.clean(b,!1,!0),c=this.removeEmptyTags(c)),this.options.plainPaste&&(c=this.plainPasteClean(c)),\"\"!==c&&(this.insertHTML(c),this.$element.find(\"li\").each(a.proxy(function(b,c){this.wrapTextInElement(a(c),!0)},this)),this.options.paragraphy&&this.wrapText(!0),this.cleanupLists()),this.afterPaste()},b.prototype.afterPaste=function(){this.focus(),this.uploadPastedImages(),this.$element.trigger(\"placeholderCheck\"),this.pasting=!1,this.triggerEvent(\"afterPaste\",[],!0,!0)},b.prototype.registerPaste=function(){this.$element.on(\"copy cut\",a.proxy(function(){this.copiedText=this.text()},this)),this.$element.on(\"paste\",a.proxy(function(b){if(!this.isHTML){if(b.originalEvent&&(b=b.originalEvent),!this.triggerEvent(\"beforePaste\",[],!1))return!1;if(this.clipboardPaste(b))return!1;this.clipboardHTML=\"\",this.pasting=!0,this.scrollPosition=a(window).scrollTop();var c=!1;if(b&&b.clipboardData&&b.clipboardData.getData){var d=\"\",e=b.clipboardData.types;if(a.Editable.isArray(e))for(var f=0;f\")),\"\"!==this.clipboardHTML?c=!0:this.clipboardHTML=null,c)return this.processPaste(),b.preventDefault&&(b.stopPropagation(),b.preventDefault()),!1}this.beforePaste()}},this))},b.prototype.clipboardPaste=function(b){if(b&&b.clipboardData&&b.clipboardData.items){var c=b.clipboardData.items[0].getAsFile();if(c){var d=new FileReader;return d.onload=a.proxy(function(a){var b=a.target.result;this.insertHTML(''),this.afterPaste()},this),d.readAsDataURL(c),!0}}return!1},b.prototype.uploadPastedImages=function(){this.$element.find(\"img[data-fr-image-pasted]\").each(a.proxy(function(b,c){this.options.pasteImage?(0===c.src.indexOf(\"data:\")?(this.options.defaultImageWidth&&a(c).attr(\"width\",this.options.defaultImageWidth),this.options.pastedImagesUploadURL&&(setTimeout(a.proxy(function(){this.showImageLoader(),this.$progress_bar.find(\"span\").css(\"width\",\"100%\").text(\"Please wait!\"),this.showByCoordinates(a(c).offset().left+a(c).width()/2,a(c).offset().top+a(c).height()+10),this.isDisabled=!0},this),10),a.ajax({type:this.options.pastedImagesUploadRequestType,url:this.options.pastedImagesUploadURL,data:a.extend({image:decodeURIComponent(c.src)},this.options.imageUploadParams),crossDomain:this.options.crossDomain,xhrFields:{withCredentials:this.options.withCredentials},headers:this.options.headers,dataType:\"json\"}).done(a.proxy(function(b){try{if(b.link){var d=new Image;d.onerror=a.proxy(function(){this.throwImageError(1)},this),d.onload=a.proxy(function(){c.src=b.link,this.hideImageLoader(),this.hide(),this.enable(),setTimeout(function(){a(c).trigger(\"touchend\")},50),this.triggerEvent(\"afterUploadPastedImage\",[a(c)])},this),d.src=b.link}else b.error?this.throwImageErrorWithMessage(b.error):this.throwImageError(2)}catch(e){this.throwImageError(4)}},this)).fail(a.proxy(function(){this.throwImageError(3)},this)))):0!==c.src.indexOf(\"http\")&&a(c).remove(),a(c).removeAttr(\"data-fr-image-pasted\")):a(c).remove()},this))},b.prototype.disable=function(){this.isDisabled=!0,this.$element.blur()},b.prototype.enable=function(){this.isDisabled=!1},b.prototype.wordClean=function(a){a.indexOf(\"=0&&(a=a.replace(/[.\\s\\S\\w\\W<>]*]*>([.\\s\\S\\w\\W<>]*)<\\/body>[.\\s\\S\\w\\W<>]*/g,\"$1\")),a=a.replace(/([\\s\\S]*?)<\\/p>/gi,\"
  • $3

\"),a=a.replace(/([\\s\\S]*?)<\\/p>/gi,\"
  • $3

  • \"),a=a.replace(/([\\s\\S]*?)<\\/p>/gi,\"
  • $3

  • \"),a=a.replace(/([\\s\\S]*?)<\\/p>/gi,\"
  • $3

\"),a=a.replace(/([\\s\\S]*?)([\\s\\S]*?)/gi,\"\"),a=a.replace(/(\\n|\\r| class=(\")?Mso[a-zA-Z0-9]+(\")?)/gi,\" \"),a=a.replace(//gi,\"\"),a=a.replace(/<(\\/)*(meta|link|span|\\\\?xml:|st1:|o:|font)(.*?)>/gi,\"\");for(var b=[\"style\",\"script\",\"applet\",\"embed\",\"noframes\",\"noscript\"],c=0;c\",\"gi\");a=a.replace(d,\"\")}a=a.replace(/([\\w\\-]*)=(\"[^<>\"]*\"|'[^<>']*'|\\w+)/gi,\"\"),a=a.replace(/ /gi,\"\");var e;do e=a,a=a.replace(/<[^\\/>][^>]*><\\/[^>]+>/gi,\"\");while(a!=e);return a=this.clean(a),a=a.replace(/(.[^<]+)<\\/a>/gi,\"$1\")},b.prototype.tabs=function(a){for(var b=\"\",c=0;a>c;c++)b+=\" \";return b},b.prototype.cleanTags=function(a,b){void 0===b&&(b=!1);var c,d,e,f,g=this.options.formatTags,h=[],i=[],j=!1;for(d=0;d\",d+1);if(-1!==k){var l=a.substring(d,k+1),m=this.tagName(l),n=this.isClosingTag(l);if(\"pre\"===m&&(j=n?!1:!0),this.isSelfClosingTag(l))i.push(\"br\"===m&&j?\"\\n\":l);else if(n)for(e=!1,f=!0;e===!1&&void 0!==f;)f=h.pop(),void 0!==f&&f.tag_name!==m?i.splice(f.i,1):(e=!0,void 0!==f&&i.push(l));else i.push(l),h.push({tag_name:m,i:i.length-1});d=k}}else\"\\n\"===c&&this.options.beautifyCode?b&&j&&i.push(\"
\"):\"\t\"!==c&&i.push(c);for(;h.length>0;)f=h.pop(),i.splice(f.i,1);var o=\"\\n\";this.options.beautifyCode||(o=\"\"),a=\"\",h=0;var p=!0;for(d=0;d0&&a[a.length-1]==o&&(a+=this.tabs(h)),a+=i[d]+o):(a+=o+this.tabs(h)+i[d],h+=1);return a[0]==o&&(a=a.substring(1,a.length)),a[a.length-1]==o&&(a=a.substring(0,a.length-1)),a},b.prototype.cleanupLists=function(){this.$element.find(\"ul, ol\").each(function(b,c){var d=a(c);if(d.find(\".close-ul, .open-ul, .close-ol, .open-ol, .open-li, .close-li\").length>0){var e=\"<\"+c.tagName.toLowerCase()+\">\"+d.html()+\"\";e=e.replace(new RegExp('',\"g\"),\"\"),e=e.replace(new RegExp('',\"g\"),\"