function _createForOfIteratorHelper(l,n){var u;if("undefined"==typeof Symbol||null==l[Symbol.iterator]){if(Array.isArray(l)||(u=_unsupportedIterableToArray(l))||n&&l&&"number"==typeof l.length){u&&(l=u);var t=0,e=function(){};return{s:e,n:function(){return t>=l.length?{done:!0}:{done:!1,value:l[t++]}},e:function(l){throw l},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,i=!1;return{s:function(){u=l[Symbol.iterator]()},n:function(){var l=u.next();return o=l.done,l},e:function(l){i=!0,s=l},f:function(){try{o||null==u.return||u.return()}finally{if(i)throw s}}}}function _unsupportedIterableToArray(l,n){if(l){if("string"==typeof l)return _arrayLikeToArray(l,n);var u=Object.prototype.toString.call(l).slice(8,-1);return"Object"===u&&l.constructor&&(u=l.constructor.name),"Map"===u||"Set"===u?Array.from(l):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?_arrayLikeToArray(l,n):void 0}}function _arrayLikeToArray(l,n){(null==n||n>l.length)&&(n=l.length);for(var u=0,t=new Array(n);u<n;u++)t[u]=l[u];return t}function _defineProperties(l,n){for(var u=0;u<n.length;u++){var t=n[u];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(l,t.key,t)}}function _createClass(l,n,u){return n&&_defineProperties(l.prototype,n),u&&_defineProperties(l,u),l}function _inherits(l,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),n&&_setPrototypeOf(l,n)}function _setPrototypeOf(l,n){return(_setPrototypeOf=Object.setPrototypeOf||function(l,n){return l.__proto__=n,l})(l,n)}function _createSuper(l){var n=_isNativeReflectConstruct();return function(){var u,t=_getPrototypeOf(l);if(n){var e=_getPrototypeOf(this).constructor;u=Reflect.construct(t,arguments,e)}else u=t.apply(this,arguments);return _possibleConstructorReturn(this,u)}}function _possibleConstructorReturn(l,n){return!n||"object"!=typeof n&&"function"!=typeof n?_assertThisInitialized(l):n}function _assertThisInitialized(l){if(void 0===l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(l){return!1}}function _getPrototypeOf(l){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(l){return l.__proto__||Object.getPrototypeOf(l)})(l)}function _classCallCheck(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{tSmu:function(l,n,u){"use strict";u.r(n);var t=u("8Y7J"),e=function l(){_classCallCheck(this,l)},s=u("pMnS"),o=u("MKJQ"),i=u("sZkV"),a=u("SVse"),r=u("mrSG"),c=u("8LZa"),b=u("KnF1"),h=function(l){_inherits(u,l);var n=_createSuper(u);function u(l,t){var e;return _classCallCheck(this,u),(e=n.call(this,l)).modalCtrl=t,e.setIcon("cube"),e}return _createClass(u,[{key:"setMessage",value:function(l){this.message=l}},{key:"click",value:function(){this.addToLeitner()}},{key:"addToLeitner",value:function(){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.modalCtrl.create({component:b.a,componentProps:{filter:"leitner",message:this.message}});case 2:l.sent.present();case 3:case"end":return l.stop()}}),l,this)})))}}]),u}(c.a),g=function(l){_inherits(u,l);var n=_createSuper(u);function u(l,t,e){var s;return _classCallCheck(this,u),(s=n.call(this,l)).modalCtrl=t,s.chatsManager=e,s.setIcon("trash"),s}return _createClass(u,[{key:"setMessage",value:function(l){this.message=l}},{key:"setChat",value:function(l){this.chat=l}},{key:"click",value:function(){this.removeMessage()}},{key:"removeMessage",value:function(){this.chatsManager.removeMessage(this.message,this.chat)}}]),u}(c.a),d=function(l){_inherits(u,l);var n=_createSuper(u);function u(l,t,e){var s;return _classCallCheck(this,u),(s=n.call(this,l)).modalCtrl=t,s.chatsManager=e,s.setIcon("share"),s}return _createClass(u,[{key:"setMessage",value:function(l){this.message=l}},{key:"click",value:function(){this.msgComp.share(),this.message.setShowOptionMenu(!1)}},{key:"setMessageComp",value:function(l){this.msgComp=l}},{key:"setChat",value:function(l){this.chat=l}},{key:"shareMessage",value:function(){this.chatsManager.shareMessage(this.message,this.chat)}}]),u}(c.a),f=function(l){_inherits(u,l);var n=_createSuper(u);function u(l,t,e){var s;return _classCallCheck(this,u),(s=n.call(this)).chatsMgr=l,s.modalCtrl=t,s.translateService=e,s}return _createClass(u,[{key:"init",value:function(){var l=this;this.addLeitnerBtn(),this.addShareBtn().then((function(n){l.shareBtn=n})),this.addRemoveBtn()}},{key:"addLeitnerBtn",value:function(){var l=this;this.translateService.get("BUTTONS.addToLeitner").subscribe((function(n){var u=new h(n,l.modalCtrl);u.setMessage(l.message),l.message.isDictionary()&&l.buttons.push(u)}))}},{key:"addRemoveBtn",value:function(){var l=this;if(!this.message.isFrom(this.chatsMgr.userManager.user))return!1;this.translateService.get("BUTTONS.remove").subscribe((function(n){var u=new g(n,l.modalCtrl,l.chatsMgr);u.setMessage(l.message),u.setChat(l.chat),l.buttons.push(u)}))}},{key:"addShareBtn",value:function(){var l=this;return new Promise((function(n){l.translateService.get("BUTTONS.share").subscribe((function(u){var t=new d(u,l.modalCtrl,l.chatsMgr);l.addBtn(t),l.shareBtn=t,n(t)}))}))}},{key:"addBtn",value:function(l){l.setMessage(this.message),l.setChat(this.chat),this.buttons.push(l)}},{key:"setMessage",value:function(l){this.message=l}},{key:"setChat",value:function(l){this.chat=l}},{key:"close",value:function(){this.message.setShowOptionMenu(!1),this.chat.setMessageOptionOverlay(!1)}},{key:"getShareButton",value:function(){return this.shareBtn}}]),u}(u("ZnZf").a),m=u("J20c"),p=(u("oCF6"),u("3MOV")),v=u("/qZA"),k=u("EGUZ"),C=u("0NL6"),M=u("+mLH"),O=u("CjQN"),y=u("olg3"),w=u("1Zg0"),L=u("AjPc"),x=u("2IJ5"),P=u("zI0Y"),_=u("iunF"),I=u("2y6Z"),N=u("MF7w"),j=u("FxvK"),S=u("2TGb"),T=u("pJ1N"),F=u("sUqe"),D=function(){function l(n,u,t,e,s){_classCallCheck(this,l),this.view=n,this.navParam=u,this.toastCtrl=t,this.translate=e,this.userManager=s,this.selectArtikel=!1}return _createClass(l,[{key:"handleMessage",value:function(l){console.log("message of add new message","sent",l)}},{key:"ngAfterContentInit",value:function(){this.word=this.navParam.get("word"),this.wordItemComp=this.navParam.get("wordItemComp"),console.log("this word item",this.wordItemComp)}},{key:"selected",value:function(){console.log("this selected",this.mistakeType)}},{key:"confirm",value:function(){null==this.mistakeType?this.showToastError():(this.wordItemComp.likeDesicionChangedInAWhileNumber++,this.wordItemComp.setDisliked(!0),this.wordItemComp.word.minusRate++,this.wordItemComp.isLiked()&&(this.wordItemComp.word.plusRate--,this.wordItemComp.setLiked(!1)),this.wordItemComp.sendDislike(this.mistakeType),this.wordItemComp.dictionaryComp.messageComp.saveContent(),this.view.dismiss())}},{key:"setToastError",value:function(l){this.formValidationErrorEnum=l}},{key:"getToastError",value:function(){return this.translate.get("CONTENT.DislikeDialog.FormValidationError.enterMistakeType")}},{key:"close",value:function(){this.view.dismiss()}},{key:"showToastError",value:function(){var l=this;this.getToastError().subscribe((function(n){return r.a(l,void 0,void 0,regeneratorRuntime.mark((function l(){var u;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.toastCtrl.create({message:n,duration:3e3,position:"middle"});case 2:(u=l.sent).onDidDismiss().then((function(){console.log("Dismissed toast")})),u.present();case 4:case"end":return l.stop()}}),l,this)})))}))}},{key:"possibleErrors",get:function(){return F.h}}]),l}(),B=u("i9lY"),E=u("0+M4"),A=function(){function l(n,u,t,e,s,o,i){_classCallCheck(this,l),this.tts=n,this.consoleDialog=u,this.modalCtrl=t,this.userManager=e,this.socketManager=s,this.events=o,this.tourGuideMgr=i,this.likeDesicionChangedInAWhileNumber=0,this.itemSelected=!1,this.word=null,this.registerEvents()}return _createClass(l,[{key:"registerEvents",value:function(){var l=this;this.events.subscribe("deselect",(function(n){l.itemSelected=!1}))}},{key:"handleMessage",value:function(l){console.log("liked",l)}},{key:"ngAfterContentInit",value:function(){this.word=this.createWord()}},{key:"hasArtikel",value:function(){return"n"==this.wordObject.artikel||"m"==this.wordObject.artikel||"f"==this.wordObject.artikel}},{key:"hasPlural",value:function(){return this.wordObject.plural&&this.wordObject.plural.length>2}},{key:"isNoun",value:function(){return this.hasArtikel()&&this.hasPlural()&&!this.isNotFound()}},{key:"isVerb",value:function(){return"-"==this.wordObject.artikel&&"n"==this.wordObject.word.slice(-1)&&this.wordObject.word.trim().split(" ").length<2&&this.wordObject.word.trim().length>3&&!this.isNotFound()}},{key:"hasTranslation",value:function(){return this.wordObject.translation&&this.wordObject.translation.length>1}},{key:"hasWord",value:function(){return this.wordObject.word&&this.wordObject.word.length>2}},{key:"setLiked",value:function(l){this.word.liked=l}},{key:"setDisliked",value:function(l){this.word.disliked=l}},{key:"getRateLikeClass",value:function(){var l="";return this.isLiked()&&(l=" rated "),l}},{key:"getRateDislikeClass",value:function(){var l="";return this.isDisliked()&&(l=" rated "),l}},{key:"isRated",value:function(){return this.isLiked()||this.isDisliked()}},{key:"isLiked",value:function(){return this.word.liked}},{key:"isDisliked",value:function(){return this.word.disliked}},{key:"hasLikedManyTimes",value:function(){return this.likeDesicionChangedInAWhileNumber>4}},{key:"like",value:function(){this.likeDesicionChangedInAWhileNumber++,this.setLiked(!0),this.word.plusRate++,this.isDisliked()&&(this.setDisliked(!1),this.word.minusRate--),this.sendLike()}},{key:"dislike",value:function(){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function l(){var n,u=this;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.modalCtrl.create({component:D,componentProps:{wordItemComp:this,word:this.word}});case 2:(n=l.sent).present(),n.onDidDismiss().then((function(l){u.dictionaryComp.messageComp.saveContent()}));case 4:case"end":return l.stop()}}),l,this)})))}},{key:"dislikeToggle",value:function(){this.hasLikedManyTimes()||(this.isDisliked()?(this.word.minusRate--,this.setDisliked(!1),this.sendRemoveDislike(),this.dictionaryComp.messageComp.saveContent()):this.dislike())}},{key:"likeToggle",value:function(){this.hasLikedManyTimes()||(this.isLiked()?(this.word.plusRate--,this.setLiked(!1),this.sendRemoveLike()):this.like(),this.dictionaryComp.messageComp.saveContent())}},{key:"sendRemoveLike",value:function(){this.socketManager.queryPro("removeLikeWord",{word:this.word},this,this.userManager.user.getMainAccessToken())}},{key:"sendRemoveDislike",value:function(){this.socketManager.queryPro("removeDislikeWord",{word:this.word},this,this.userManager.user.getMainAccessToken())}},{key:"sendLike",value:function(){this.socketManager.queryPro("likeWord",{word:this.word},this,this.userManager.user.getMainAccessToken())}},{key:"sendDislike",value:function(l){this.socketManager.queryPro("dislikeWord",{word:this.word,mistakeType:l},this,this.userManager.user.getMainAccessToken())}},{key:"showLikeNumber",value:function(){return this.word.plusRate>0?this.word.plusRate:""}},{key:"showDislikeNumber",value:function(){return this.word.minusRate>0?this.word.minusRate:""}},{key:"isPhrase",value:function(){return this.hasTranslation()&&this.hasWord()&&!this.isNoun()&&!this.isVerb()&&!this.isNotFound()}},{key:"isNotFound",value:function(){return this.wordObject.translation&&this.wordObject.translation.includes("nothing found")}},{key:"play",value:function(){var l=this.word.word;L.c.isGerman(l)||(l=this.word.translation),this.tts.speak({text:l,locale:"de-DE",rate:.96})}},{key:"getLangCode",value:function(){return L.c.isGerman(this.word.word)?"de-DE":"fa"}},{key:"createWord",value:function(){var l;return(l=this.isNoun()?new j.a(this.wordObject):this.isVerb()?new B.a(this.wordObject):new P.a(this.wordObject)).setUserID(this.wordObject.userID),l}},{key:"createWordByWordObject",value:function(l){var n;return(n=this.isNoun()?new j.a(this.wordObject):this.isVerb()?new B.a(this.wordObject):new P.a(this.wordObject)).setUserID(this.wordObject.userID),n}},{key:"select",value:function(){this.events.publish("deselect"),this.itemSelected=!this.itemSelected}},{key:"isSelected",value:function(){return this.itemSelected}},{key:"hasWordID",value:function(){return null!=this.word.wordID&&this.word.wordID&&void 0}},{key:"getClass",value:function(){var l="";return this.isSelected()&&(l+=" selectedWord "),this.isWordLocal()?l+=" localWord ":l+=" onlineWord",l}},{key:"isMine",value:function(){return this.word.userID==this.userManager.user.userID}},{key:"isWordLocal",value:function(){return this.word.userID==this.userManager.user.userID}},{key:"ngAfterViewInit",value:function(){}},{key:"ngAfterViewChecked",value:function(){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(l.t0=null!=this.dictionaryComp.messageComp.chat&&this.dictionaryComp.messageComp.chat.isChatTutorial(),!l.t0){l.next=7;break}return this.tourGuideMgr.initMessageTips(),l.next=5,this.modalCtrl.create({component:T.a});case 5:l.sent.present(),this.dictionaryComp.messageComp.chat.tutorial=!1;case 7:case"end":return l.stop()}}),l,this)})))}}]),l}(),W=function(){function l(n,u){_classCallCheck(this,l),this.wordsManager=n,this.navCtrl=u,this.translatedWords=[],this.relatedWords=[],this.oldWords=[],this.translatedFromInternet=!0}return _createClass(l,[{key:"ngAfterContentInit",value:function(){var l=this;if(console.log("messagecomp in ngAfterContentInit is: ",this.messageComp),this.message&&this.message.needContent()&&!this.isWaitingForOnlineContent()){console.log("if (this.message && this.message.needContent() && !this.isWaitingForOnlineContent()) {"),this.message.setStatus(this.message.possibleStatuses.askedForOnlineContent);var n={data:this.message.getData(),itemID:this.messageComp.chat.chatID};console.log("requestData",n),this.translatedFromInternet=!1,this.getLocally().then((function(u){u&&(console.log("if (needOnline) {"),l.messageComp.socketManager.queryPro(l.message.getAction(),n,l,l.messageComp.userManager.user.getMainAccessToken()))}))}else null==this.message.content||this.message.isQuiz()||(console.log(" if (this.message.content != undefined && !this.message.isQuiz()) {"),this.initContent())}},{key:"isWaitingForOnlineContent",value:function(){return this.message.isStatus(this.message.possibleStatuses.askedForOnlineContent)}},{key:"isTranslatedFromInternet",value:function(){return this.translatedFromInternet}},{key:"getAllWords",value:function(){return this.getRelatedWords().concat(this.getTranslatedWords())}},{key:"handleMessage",value:function(l){console.log(" in handleMessage(result) ");var n=this;this.message.setStatus(this.message.possibleStatuses.downloadedContent);var u=JSON.parse(l);if(console.log(" resultMsg",u),L.a.isJson(u.msg)){console.log("if (Tools.CHECK.isJson(");var t=JSON.parse(u.msg);Object.keys(t).forEach((function(l){var u=t[l];null!==u&&(null==n.message.content&&null==n.message.content||n.message.content.push(u),n.putWord(u))})),this.checkForMoreContentTipps(),this.messageComp.saveContent(),console.log(" in handleMessage"),this.messageComp.chatsManager.save(this.messageComp.chat),console.log("this.messageComp.chat",this.messageComp.chat)}this.checkAddNewWord()}},{key:"isChatPage",value:function(){return!0}},{key:"checkForMoreContentTipps",value:function(){var l=this;this.messageComp.hasMoreContent()&&this.isChatPage()&&this.messageComp.settingsManager.getPrimarySettings().then((function(n){n.hasSeenContent()||setTimeout((function(){l.messageComp.tourGuideMgr.introduceMoreContent().then((function(){n.setSeenMoreContent(),l.messageComp.settingsManager.savePrimarySetting()}))}),1e3)}))}},{key:"checkAddNewWord",value:function(){this.getAllWords().length>0?this.messageComp.setAddNewButtonAvailable(!1):this.messageComp.setAddNewButtonAvailable(!0)}},{key:"initContent",value:function(){if(null!=this.message.content){var l,n=_createForOfIteratorHelper(this.message.content);try{for(n.s();!(l=n.n()).done;){var u=l.value;this.putWord(u)}}catch(t){n.e(t)}finally{n.f()}}}},{key:"putWord",value:function(l){if(!l)return!1;1==parseInt(l.related)?this.relatedWords.push(l):0==parseInt(l.related)?this.translatedWords.push(l):this.oldWords.push(l)}},{key:"getRelatedWords",value:function(){return this.relatedWords}},{key:"getTranslatedWords",value:function(){return this.translatedWords}},{key:"getOldWords",value:function(){return this.oldWords}},{key:"ngOnChanges",value:function(){}},{key:"getLocally",value:function(){var l=this,n=!1;return new Promise((function(u,t){l.message.isDictionaryMessage()?l.messageComp.chatsManager.getMessageContent(l.message).then((function(t){t?l.initContent():n=!0,u(n)})):u(n=!0)}))}}]),l}(),R=u("xq9V"),q=function(){function l(n,u,t,e,s,o,i,a,r,c,b,h,g){_classCallCheck(this,l),this.ajaxBridge=n,this.socketManager=u,this.actionSheetCtrl=t,this.storageManager=e,this.userManager=s,this.chatsManager=o,this.modalCtrl=i,this.settingsManager=a,this.consoleDialog=r,this.nav=c,this.tourGuideMgr=b,this.socialSharing=h,this.spaceRepMgr=g,this.inLeitner=!1,this.loaded=!1,this.minimized=!1,this.selected=!1,this.front=!0,this.modalOpen=!1,this.message=new C.a({}),this.message.from=new M.a({}),this.words=[],this.activeArrowName="down"}return _createClass(l,[{key:"ngAfterContentInit",value:function(){var l=this;this.message=this.messageObject,this.message.from=new M.a(this.message.from),this.hasAddNewBtn=new Promise((function(n){l.setAddNewButtonAvailable=n}))}},{key:"ngAfterViewInit",value:function(){this.message.setStatus(this.message.possibleStatuses.seenByMe),this.chatsManager.saveMessageContent(this.chat,this.message)}},{key:"handleMessage",value:function(l){var n=this,u=JSON.parse(l);if(L.a.isJson(u.msg)){var t=JSON.parse(u.msg);Object.keys(t).forEach((function(l){var u=t[l];null!==u&&(n.message.content.push(u),n.words.push(new P.a(u)))})),this.saveContent(),n.chatsManager.save(n.chat)}}},{key:"saveContent",value:function(){this.chatsManager.saveMessageContent(this.chat,this.message)}},{key:"getClass",value:function(){var l="";return this.message.received&&(l+="received"),l}},{key:"getClassesFirstDiv",value:function(){return" easeInAnimation","card easeInAnimation"}},{key:"moreOptions",value:function(){this.message.setShowOptionMenu(!0),this.chat.setMessageOptionOverlay(!0)}},{key:"showOptions",value:function(l){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function l(){var n=this;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return this.selected=!0,l.next=3,this.actionSheetCtrl.create({subHeader:"Modify this Item",cssClass:"itemActionSheet",buttons:[{cssClass:"deleteBtn",text:"Delete",role:"destructive",handler:function(){n.chatsManager.removeMessage(n.message,n.chat)}},{text:"Cancel",role:"cancel",handler:function(){console.log("Cancel clicked")}}]});case 3:l.sent.present();case 4:case"end":return l.stop()}}),l,this)})))}},{key:"deleteItem",value:function(){this.chatsManager.removeMessage(this.message,this.chat)}},{key:"getType",value:function(l){return this.message.type==l}},{key:"toggle",value:function(){event.preventDefault(),event.stopPropagation(),this.message.minimized=!this.message.minimized,this.chatsManager.updateFolding(this.chat,this.message),this.chatsManager.save(this.chat)}},{key:"hideContent",value:function(){this.message.minmize(),this.storageManager.set(this.chat.chatID,this.chat),this.activeArrowName="forward"}},{key:"getTime",value:function(){return this.message.receivedTime?this.message.receivedTime.toString().split(" GMT")[0]:0}},{key:"showContent",value:function(){this.message.maximize(),this.storageManager.set(this.chat.chatID,this.chat),this.activeArrowName="down"}},{key:"isShowAvatar",value:function(){return this.userManager.user.email!=this.message.from.email&&"adsMessage"!=this.message.type}},{key:"exportMsg",value:function(){var l="";return 0==this.dictionaryComp.getAllWords().length?console.log(this.content):(this.dictionaryComp.getAllWords().forEach((function(n){l+=n.word+": ",l+=n.translation+"\n",l+="\n"})),l+="\n",l+="Bayadic"),l}},{key:"share",value:function(){var l=this.exportMsg();this.socialSharing.share(l,this.message.text)}},{key:"shareEmail",value:function(){event.preventDefault(),event.stopPropagation()}},{key:"shareVia",value:function(){event.preventDefault(),event.stopPropagation()}},{key:"addToLeitner",value:function(){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.modalCtrl.create({component:b.a,componentProps:{filter:"leitner",message:this.message}});case 2:l.sent.present();case 3:case"end":return l.stop()}}),l,this)})))}},{key:"isPersian",value:function(){return this.message.isPersian()}},{key:"toggleCard",value:function(){var l=this;this.getType("leitner")&&(this.front=!this.front),setTimeout((function(){l.typic=!0}),100)}},{key:"isFront",value:function(){return this.front}},{key:"getClasses",value:function(){var l=" ";return l+=this.getClassFlipped(),this.message.isChatMessage()&&(l+=" chat "),l}},{key:"getClassForBody",value:function(){return this.message.isDictionary()?"body":""}},{key:"getClassFlipped",value:function(){return this.isFront()?"":"flipped "}},{key:"addNewWord",value:function(){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(l.t0=this.modalOpen,l.t0){l.next=6;break}return this.modalOpen=!0,l.next=5,this.modalCtrl.create({component:I.a,swipeToClose:!0,cssClass:"auto-height",componentProps:{message:this.message,messageComp:this}});case 5:l.sent.present();case 6:this.modalOpen=!1;case 7:case"end":return l.stop()}}),l,this)})))}},{key:"openMoreContent",value:function(){(this.message.isDictionary()||this.message.isLeitnerMessage())&&this.message.setMaxWordToShow(100),this.settingsManager.getPrimarySettings().then((function(l){l.setSeenMoreContent()}))}},{key:"hasMoreContent",value:function(){return null!=this.message.content&&this.message.content.length>this.message.maxWordToShow}},{key:"refineMessage",value:function(){this.message.repetittion||(this.message.repetittion=0)}},{key:"deleteMessage",value:function(){var l=this.chat.messages.indexOf(this.message);this.chat.messages.splice(l,1)}},{key:"easy",value:function(){this.refineMessage(),this.spaceRepMgr.easy(this.message,this.chat),this.deleteMessage()}},{key:"medium",value:function(){this.refineMessage(),this.spaceRepMgr.medium(this.message,this.chat),this.deleteMessage(),console.log("mid"+this.message)}},{key:"hard",value:function(){this.refineMessage(),this.spaceRepMgr.hard(this.message,this.chat),this.deleteMessage()}},{key:"cardmodel",value:function(){return this.getType("dictionary")||this.getType("leitner")||this.message.isQuiz()?"card":"right"}}]),l}(),z=function(){function l(n,u,t){_classCallCheck(this,l),this.chatsMgr=n,this.messageOptionMenu=new f(n,u,t)}return _createClass(l,[{key:"ngAfterContentInit",value:function(){console.log("message is:",this.message),console.log("chat is:",this.chat),this.messageOptionMenu.setMessage(this.message),this.messageOptionMenu.setChat(this.chat),this.messageOptionMenu.init(),this.messageOptionMenu.getShareButton().setMessageComp(this.parent)}},{key:"ngAfterViewInit",value:function(){}},{key:"share",value:function(){this.parent.share()}}]),l}(),H=u("TSSN"),J=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%]{width:300px}[_nghost-%COMP%] .optionMenu[_ngcontent-%COMP%]{border-radius:20px}.optionDialogEnglish[_nghost-%COMP%] .closeOverlay[_ngcontent-%COMP%]{width:102vw;height:300%;display:block;background:0 0;position:fixed;left:0;top:0;z-index:-1}.optionDialogEnglish[_nghost-%COMP%] .optionMenu[_ngcontent-%COMP%]{width:900%;margin-left:-800%;padding-top:10px;border-radius:10px;height:auto;margin-top:-30px;position:absolute}.optionDialogPersian[_nghost-%COMP%] .closeOverlay[_ngcontent-%COMP%]{width:102vw;height:100%;display:block;background:0 0;position:fixed;left:0;top:0;z-index:-1}.optionDialogPersian[_nghost-%COMP%] .optionMenu[_ngcontent-%COMP%]{width:900%;padding-top:10px;border-radius:10px;height:auto;position:absolute}.menuButton[_ngcontent-%COMP%]{height:1.8rem;margin-bottom:10px;margin-left:10px}.menuText[_ngcontent-%COMP%]{float:left;font-size:.8rem;padding-top:3px;font-weight:100;width:80%}.buttnsIcon[_ngcontent-%COMP%]{float:right;width:20%;line-height:35px;position:absolute;right:10px}.closeOverlay[_ngcontent-%COMP%]{display:block;position:fixed}"]],data:{}});function U(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,7,"div",[["class","menuButton"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.context.$implicit.click()&&t),t}),null,null)),(l()(),t.sb(1,0,null,null,6,"ion-row",[],null,null,null,o.qb,o.B)),t.rb(2,49152,null,0,i.gb,[t.h,t.k,t.x],null,null),(l()(),t.sb(3,0,null,0,1,"div",[["class","menuText"]],null,null,null,null,null)),(l()(),t.Lb(4,null,[" "," "])),(l()(),t.sb(5,0,null,0,2,"div",[["class","buttnsIcon"]],null,null,null,null,null)),(l()(),t.sb(6,0,null,null,1,"ion-icon",[],null,null,null,o.fb,o.q)),t.rb(7,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){var u=t.wb(1,"",n.context.$implicit.getIcon(),"");l(n,7,0,u)}),(function(l,n){l(n,4,0,n.context.$implicit.text)}))}function G(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,0,"div",[["class","closeOverlay"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.messageOptionMenu.close()&&t),t}),null,null)),(l()(),t.sb(1,0,null,null,2,"div",[["class","optionMenu"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,U)),t.rb(3,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){l(n,3,0,n.component.messageOptionMenu.buttons)}),null)}var V=u("IP0z"),$=u("a6b8"),K=function(){function l(n,u){_classCallCheck(this,l),this.avatarsManagerProvider=n,this.userManager=u,console.log("Hello AvatarComponent Component"),this.text="Hello World"}return _createClass(l,[{key:"ngAfterContentInit",value:function(){this.initUser()}},{key:"initUser",value:function(){null==this.parent.message.from.email&&(this.getUserByID(this.parent.message.from),console.log(this.parent.message.from.email))}},{key:"getUserByID",value:function(l){var n=this;this.avatarsManagerProvider.getUserByUserID(l).then((function(l){n.parent.message.setUser(l)}))}},{key:"hasImage",value:function(){return null!=this.parent.message.from.imageUrl}},{key:"getFirstChars",value:function(){return null!=this.parent.message.from.name&&null!=this.parent.message.from.lastname?this.parent.message.from.name.slice(0,1)+this.parent.message.from.lastname.slice(0,1):void 0!==this.parent.message.from.email?this.parent.message.from.email.slice(0,1):":D"}}]),l}(),Y=t.qb({encapsulation:0,styles:[[".sender[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:20px;background:#adff2f;color:#cd5c5c;float:left;text-align:center;padding-top:8px}"]],data:{}});function Z(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"div",[["class","avatarName"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" ",""]))],null,(function(l,n){l(n,1,0,n.component.getFirstChars())}))}function Q(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"ion-avatar",[["class","sender"]],null,null,null,o.Q,o.b)),t.rb(1,49152,null,0,i.g,[t.h,t.k,t.x],null,null),(l()(),t.hb(16777216,null,0,1,null,Z)),t.rb(3,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,3,0,!n.component.hasImage())}),null)}var X=function(){function l(n,u,t,e,s){_classCallCheck(this,l),this.modalCtrl=n,this.ajaxBridge=u,this.activeroute=t,this.navCtrl=e,this.router=s}return _createClass(l,[{key:"conjugate",value:function(){var l={state:{verb:this.verb}};console.log(" verb conjugate is :",this.verb.word),this.router.navigate(["conjugation",this.verb.word],{relativeTo:this.activeroute}),this.router.navigate(["chat/conjugation"],l)}},{key:"example",value:function(){var l={state:{verb:this.verb}};console.log("this.verb :",this.verb),console.log("this.verb.word :",this.verb.word),this.router.navigate(["chat/example"],l)}},{key:"proposition",value:function(){this.router.navigate(["chat/proposition"],{state:{verb:this.verb}})}},{key:"getConjunctionBtnClass",value:function(){return this.verb.hasConjunction()?"alreadyConjugated":"conjugateNow"}},{key:"hasConjunction",value:function(){return!0}},{key:"isPersian",value:function(l){return L.c.isArabic(l)}},{key:"hasExamples",value:function(){return!0}},{key:"hasPerfect",value:function(){return"-"!=this.verb.perfect&&""!=this.verb.perfect}},{key:"hasProposition",value:function(){return!0}}]),l}(),ll=u("iInd"),nl=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%] .alreadyConjugated[_ngcontent-%COMP%]{color:#34ce34;border-color:#25d025}[_nghost-%COMP%] .conjugateNow[_ngcontent-%COMP%]{margin:2px 2px 2px 3px;border-radius:50%}button[_ngcontent-%COMP%]{background-color:transparent;border:1px solid #87ceeb}"]],data:{}});function ul(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.verb.translation)}))}function tl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.verb.word)}))}function el(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"button",[["fill","outline"],["ion-button",""],["shape","round"],["small",""],["style","font-size: 1rem;"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.conjugate()&&t),t}),null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(2,278528,null,0,a.i,[a.u],{ngClass:[0,"ngClass"]},null),(l()(),t.Lb(-1,null,[" C "]))],(function(l,n){l(n,2,0,n.component.getConjunctionBtnClass())}),null)}function sl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"button",[["class","conjugateNow"],["fill","outline"],["ion-button",""],["shape","round"],["small",""],["style","font-size: 1rem;"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.example()&&t),t}),null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(2,278528,null,0,a.i,[a.u],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(l()(),t.Lb(-1,null,[" B "]))],(function(l,n){l(n,2,0,"conjugateNow",n.component.getConjunctionBtnClass())}),null)}function ol(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"button",[["class","conjugateNow"],["fill","outline"],["ion-button",""],["shape","round"],["small",""],["style","font-size: 1rem;"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.proposition()&&t),t}),null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(2,278528,null,0,a.i,[a.u],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(l()(),t.Lb(-1,null,[" P "]))],(function(l,n){l(n,2,0,"conjugateNow",n.component.getConjunctionBtnClass())}),null)}function il(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.verb.word)}))}function al(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.verb.translation)}))}function rl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"ion-row",[],null,null,null,o.qb,o.B)),t.rb(1,49152,null,0,i.gb,[t.h,t.k,t.x],null,null),(l()(),t.Lb(2,0,[" (",") "]))],null,(function(l,n){l(n,2,0,n.component.verb.perfect)}))}function cl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,23,"ion-grid",[],null,null,null,o.db,o.o)),t.rb(1,49152,null,0,i.A,[t.h,t.k,t.x],null,null),(l()(),t.sb(2,0,null,0,21,"ion-row",[["class","line-style "]],null,null,null,o.qb,o.B)),t.rb(3,49152,null,0,i.gb,[t.h,t.k,t.x],null,null),(l()(),t.sb(4,0,null,0,19,"ion-col",[],null,null,null,o.X,o.i)),t.rb(5,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.sb(6,0,null,0,15,"ion-row",[],null,null,null,o.qb,o.B)),t.rb(7,49152,null,0,i.gb,[t.h,t.k,t.x],null,null),(l()(),t.hb(16777216,null,0,1,null,ul)),t.rb(9,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,tl)),t.rb(11,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,el)),t.rb(13,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,sl)),t.rb(15,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,ol)),t.rb(17,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,il)),t.rb(19,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,al)),t.rb(21,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,rl)),t.rb(23,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,9,0,u.isPersian(u.verb.word)),l(n,11,0,!u.isPersian(u.verb.word)),l(n,13,0,u.hasConjunction()),l(n,15,0,u.hasExamples()),l(n,17,0,u.hasProposition()),l(n,19,0,!u.isPersian(u.verb.translation)),l(n,21,0,u.isPersian(u.verb.translation)),l(n,23,0,u.hasPerfect())}),null)}var bl=function(){function l(n,u,t){_classCallCheck(this,l),this.navCtrl=n,this.activeroute=u,this.router=t}return _createClass(l,[{key:"ngAfterContentInit",value:function(){switch(this.noun.artikel){case"m":this.artikel="Der";break;case"f":this.artikel="Die";break;case"n":this.artikel="Das"}}},{key:"hasExamples",value:function(){return!0}},{key:"example",value:function(){this.router.navigate(["chat/example"],{state:{verb:this.noun}})}}]),l}(),hl=t.qb({encapsulation:0,styles:[[".maindiv[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center}.artikel[_ngcontent-%COMP%], .word[_ngcontent-%COMP%]{margin-left:5px;color:#000}.Pclass[_ngcontent-%COMP%]{font-size:15px!important;font-weight:400!important}.translate[_ngcontent-%COMP%]{margin-left:10px;color:#000}.conjugateNow[_ngcontent-%COMP%]{margin:2px 0 0 3px;padding:6px}button[_ngcontent-%COMP%]{background-color:transparent;border-radius:51%;border:1px solid #87ceeb}"]],data:{}});function gl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"button",[["class","conjugateNow"],["fill","outline"],["ion-button",""],["shape","round"],["small",""],["style","font-size: 1rem;"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.example()&&t),t}),null,null)),(l()(),t.Lb(-1,null,[" B "]))],null,null)}function dl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,8,"div",[["class","maindiv"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"div",[["class","artikel"]],null,null,null,null,null)),(l()(),t.Lb(2,null,[" "," "])),(l()(),t.sb(3,0,null,null,3,"div",[["class","word"]],null,null,null,null,null)),(l()(),t.Lb(4,null,[" "," "])),(l()(),t.hb(16777216,null,null,1,null,gl)),t.rb(6,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.sb(7,0,null,null,1,"div",[["class","translate"]],null,null,null,null,null)),(l()(),t.Lb(8,null,[" "," "])),(l()(),t.sb(9,0,null,null,6,"div",[["class","maindiv "]],null,null,null,null,null)),(l()(),t.sb(10,0,null,null,2,"div",[["class","artikel"]],null,null,null,null,null)),(l()(),t.sb(11,0,null,null,1,"p",[["class","Pclass"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,[" die "])),(l()(),t.sb(13,0,null,null,2,"div",[["class","word"]],null,null,null,null,null)),(l()(),t.sb(14,0,null,null,1,"p",[["class","Pclass"]],null,null,null,null,null)),(l()(),t.Lb(15,null,[" "," "]))],(function(l,n){l(n,6,0,n.component.hasExamples())}),(function(l,n){var u=n.component;l(n,2,0,u.artikel),l(n,4,0,u.noun.word),l(n,8,0,u.noun.translation),l(n,15,0,u.noun.plural)}))}var fl=function(){function l(n,u,t){_classCallCheck(this,l),this.navCtrl=n,this.activeroute=u,this.router=t,this.text="Hello World"}return _createClass(l,[{key:"isPersian",value:function(l){return L.c.isArabic(l)}},{key:"example",value:function(){this.router.navigate(["chat/example"],{state:{verb:this.phrase}})}},{key:"hasExamples",value:function(){return!0}}]),l}(),ml=t.qb({encapsulation:0,styles:[[".conjugateNow[_ngcontent-%COMP%]{margin:2px 0 0 3px;padding:6px}button[_ngcontent-%COMP%]{margin:0 10px;background-color:transparent;border-radius:50%;border:1px solid #87ceeb}.maindiv[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;padding-bottom:10px}.word[_ngcontent-%COMP%]{margin-left:5px;color:#000}.translate[_ngcontent-%COMP%]{margin-left:10px;color:#000}"]],data:{}});function pl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"div",[["class","word"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.phrase.translation)}))}function vl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"div",[["class","word"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.phrase.word)}))}function kl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"button",[["class","conjugateNow"],["fill","outline"],["ion-button",""],["shape","round"],["small",""],["style","font-size: 1rem;"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.example()&&t),t}),null,null)),(l()(),t.Lb(-1,null,[" B "]))],null,null)}function Cl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"div",[["class","translate"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.phrase.translation)}))}function Ml(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"div",[["class","translate"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.phrase.word)}))}function Ol(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,10,"div",[["class","maindiv"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,pl)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,vl)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,kl)),t.rb(6,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Cl)),t.rb(8,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Ml)),t.rb(10,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.isPersian(u.phrase.word)),l(n,4,0,!u.isPersian(u.phrase.word)),l(n,6,0,u.hasExamples()),l(n,8,0,u.isPersian(u.phrase.translation)),l(n,10,0,!u.isPersian(u.phrase.translation))}),null)}var yl=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%] .selectedWord[_ngcontent-%COMP%]{background-color:rgba(250,255,2,.15)}[_nghost-%COMP%] .bg[_ngcontent-%COMP%]{background-color:#fff;position:relative;z-index:1}[_nghost-%COMP%] .localWord[_ngcontent-%COMP%]{background-color:rgba(255,248,164,.7803921569)}.speechIcon[_ngcontent-%COMP%]{position:absolute;right:0;padding:0;font-size:1.6rem;margin-right:2px;margin-top:3px;color:#2e7dad}.icon-volume[_ngcontent-%COMP%]{font-size:25px;margin-right:5px;position:relative;z-index:2}"]],data:{}});function wl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","wordWrapper"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"verb",[],null,null,null,cl,nl)),t.rb(2,49152,null,0,X,[i.Fb,p.a,ll.a,i.Gb,ll.m],{verb:[0,"verb"]},null)],(function(l,n){l(n,2,0,n.component.word)}),null)}function Ll(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","wordWrapper"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"noun",[],null,null,null,dl,hl)),t.rb(2,1097728,null,0,bl,[i.Gb,ll.a,ll.m],{noun:[0,"noun"]},null)],(function(l,n){l(n,2,0,n.component.word)}),null)}function xl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","wordWrapper"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"phrase",[],null,null,null,Ol,ml)),t.rb(2,49152,null,0,fl,[i.Gb,ll.a,ll.m],{phrase:[0,"phrase"]},null)],(function(l,n){l(n,2,0,n.component.word)}),null)}function Pl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","wordWrapper"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Keine Ahnung"]))],null,null)}function _l(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,24,"div",[["id","wordTools"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,12,"ion-button",[["class","likeIcon"],["clear",""],["shape","round"],["small",""],["style","z-index: 3"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.likeToggle()&&t),t}),o.S,o.d)),t.rb(2,49152,null,0,i.k,[t.h,t.k,t.x],{shape:[0,"shape"]},null),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(4,278528,null,0,a.i,[a.u],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(l()(),t.sb(5,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(6,null,["",""])),(l()(),t.sb(7,0,null,0,3,"ion-icon",[["name","md-thumbs-up"]],null,null,null,o.fb,o.q)),t.rb(8,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(10,278528,null,0,a.i,[a.u],{ngClass:[0,"ngClass"]},null),(l()(),t.sb(11,0,null,0,2,"p",[],null,null,null,null,null)),(l()(),t.Lb(12,null,["",""])),t.Fb(131072,H.i,[H.j,t.h]),(l()(),t.sb(14,0,null,null,10,"ion-button",[["class","dislikeIcon"],["clear",""],["fill","outline"],["shape","round"],["small",""],["style","z-index: 3"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.dislikeToggle()&&t),t}),o.S,o.d)),t.rb(15,49152,null,0,i.k,[t.h,t.k,t.x],{fill:[0,"fill"],shape:[1,"shape"]},null),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(17,278528,null,0,a.i,[a.u],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(l()(),t.sb(18,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(19,null,["",""])),(l()(),t.sb(20,0,null,0,1,"ion-icon",[["name","md-thumbs-down"]],null,null,null,o.fb,o.q)),t.rb(21,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.sb(22,0,null,0,2,"p",[],null,null,null,null,null)),(l()(),t.Lb(23,null,["",""])),t.Fb(131072,H.i,[H.j,t.h])],(function(l,n){var u=n.component;l(n,2,0,"round"),l(n,4,0,"likeIcon",u.getRateLikeClass()),l(n,8,0,"md-thumbs-up"),l(n,10,0,u.getRateLikeClass()),l(n,15,0,"outline","round"),l(n,17,0,"dislikeIcon",u.getRateDislikeClass()),l(n,21,0,"md-thumbs-down")}),(function(l,n){var u=n.component;l(n,6,0,u.showLikeNumber()),l(n,12,0,t.Mb(n,12,0,t.Eb(n,13).transform("BUTTONS.like"))),l(n,19,0,u.showDislikeNumber()),l(n,23,0,t.Mb(n,23,0,t.Eb(n,24).transform("BUTTONS.dislike")))}))}function Il(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,16,"div",[["class","bg"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,15,"div",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.select()&&t),t}),null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(3,278528,null,0,a.i,[a.u],{ngClass:[0,"ngClass"]},null),(l()(),t.sb(4,0,null,null,2,"button",[["class","speechIcon"],["clear",""],["ion-button",""],["small",""],["style","background: none;"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.play()&&t),t}),null,null)),(l()(),t.sb(5,0,null,null,1,"ion-icon",[["class","icon-volume"],["name","volume-high"]],null,null,null,o.fb,o.q)),t.rb(6,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.hb(16777216,null,null,1,null,wl)),t.rb(8,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Ll)),t.rb(10,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,xl)),t.rb(12,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Pl)),t.rb(14,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,_l)),t.rb(16,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.getClass()),l(n,6,0,"volume-high"),l(n,8,0,u.isVerb()),l(n,10,0,u.isNoun()),l(n,12,0,u.isPhrase()),l(n,14,0,u.isNotFound()),l(n,16,0,u.isSelected()&&u.hasWordID()&&!u.isMine())}),null)}var Nl=t.qb({encapsulation:2,styles:[],data:{}});function jl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"word-item",[],null,null,null,Il,yl)),t.rb(1,13680640,null,0,A,[S.a,x.a,i.Fb,y.a,v.a,E.a,w.a],{wordObject:[0,"wordObject"],dictionaryComp:[1,"dictionaryComp"]},null)],(function(l,n){l(n,1,0,n.context.$implicit,n.component)}),null)}function Sl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"word-item",[],null,null,null,Il,yl)),t.rb(1,13680640,null,0,A,[S.a,x.a,i.Fb,y.a,v.a,E.a,w.a],{wordObject:[0,"wordObject"],dictionaryComp:[1,"dictionaryComp"]},null)],(function(l,n){l(n,1,0,n.context.$implicit,n.component)}),null)}function Tl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"word-item",[],null,null,null,Il,yl)),t.rb(1,13680640,null,0,A,[S.a,x.a,i.Fb,y.a,v.a,E.a,w.a],{wordObject:[0,"wordObject"],dictionaryComp:[1,"dictionaryComp"]},null)],(function(l,n){l(n,1,0,n.context.$implicit,n.component)}),null)}function Fl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,5,"div",[["class","relatedWords"],["id","translatedWords"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"div",[["style"," text-align:center;background-color:rgb(199, 215, 233) "]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["\u0644\u063a\u0627\u062a \u0645\u0631\u062a\u0628\u0637"])),(l()(),t.hb(16777216,null,null,2,null,Tl)),t.rb(4,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),t.Fb(0,a.q,[])],(function(l,n){var u=n.component;l(n,4,0,t.Mb(n,4,0,t.Eb(n,5).transform(u.relatedWords,0,u.message.maxWordToShow)))}),null)}function Dl(l){return t.Nb(0,[t.Jb(671088640,1,{wordItemComp:0}),(l()(),t.sb(1,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,3,"div",[["id","oldWords"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,2,null,jl)),t.rb(4,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),t.Fb(0,a.q,[]),(l()(),t.sb(6,0,null,null,3,"div",[["id","translatedWords"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,2,null,Sl)),t.rb(8,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),t.Fb(0,a.q,[]),(l()(),t.hb(16777216,null,null,1,null,Fl)),t.rb(11,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,4,0,t.Mb(n,4,0,t.Eb(n,5).transform(u.oldWords,0,u.message.maxWordToShow))),l(n,8,0,t.Mb(n,8,0,t.Eb(n,9).transform(u.translatedWords,0,u.message.maxWordToShow))),l(n,11,0,u.relatedWords.length>0)}),null)}var Bl=function(){function l(n,u){_classCallCheck(this,l),this.chatsManager=n,this.spaceRepMgr=u,this.showFront()}return _createClass(l,[{key:"showBack",value:function(){this.front=!1,this.back=!0}},{key:"showFront",value:function(){this.back=!1,this.front=!0}},{key:"isFront",value:function(){return this.front}},{key:"refineMessage",value:function(){this.message.repetittion||(this.message.repetittion=0)}},{key:"isFrontAndAllWords",value:function(){return this.isFront()}},{key:"deleteMessage",value:function(){var l=this.chat.messages.indexOf(this.message);this.chat.messages.splice(l,1)}},{key:"isBackAndStudy",value:function(){return this.back&&this.chat.isReviewWords()}},{key:"isBack",value:function(){return console.log("this is"+this.back),this.back}},{key:"toggleCard",value:function(){this.front=!this.front}},{key:"getClass",value:function(){return this.isFront()?"":"flipped"}},{key:"getClassesForAnswers",value:function(){return this.hasMoreContent()?"answerBtns hasMoreContent":"answerBtns"}},{key:"openMoreContent",value:function(){this.messageComp.openMoreContent()}},{key:"hasMoreContent",value:function(){return this.messageComp.hasMoreContent()}},{key:"Show",value:function(){return!this.chat.reviewWords}}]),l}(),El=t.qb({encapsulation:0,styles:[["leitner[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{text-align:center}leitner[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%] .answerBtns[_ngcontent-%COMP%] button.button[_ngcontent-%COMP%]{margin:0 auto 2px;display:block;width:100%}leitner[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%] button.button.speechIcon[_ngcontent-%COMP%]{width:10%}leitner[_ngcontent-%COMP%] .actionButtons[_ngcontent-%COMP%] .hasMoreContent[_ngcontent-%COMP%]{margin-top:10px;background:0 0}.moreHandle[_ngcontent-%COMP%]{height:3px;background:0 0;position:relative;border-bottom:3px solid #6188c2}.moreHandle[_ngcontent-%COMP%] .openMoreHandle[_ngcontent-%COMP%]{top:0;height:10px;background:#6188c2;width:50%;position:relative;border-radius:0 0 20px 20px;margin:0 auto}.moreHandle[_ngcontent-%COMP%] .openMoreHandle[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{height:1.5px;margin:1.5px auto;width:39%;background-color:rgba(255,255,255,.4)}"]],data:{}});function Al(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,20,"div",[["class","actionButtons"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,2,"div",[["style","text-align: center"]],null,null,null,null,null)),(l()(),t.sb(3,0,null,null,1,"div",[["style","font-weight: bold; font-size: 30px;"]],null,null,null,null,null)),(l()(),t.Lb(4,null,["",""])),(l()(),t.sb(5,0,null,null,15,"div",[],[[8,"hidden",0]],null,null,null,null)),(l()(),t.sb(6,0,null,null,2,"ion-button",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showBack()&&t),t}),o.S,o.d)),t.rb(7,49152,null,0,i.k,[t.h,t.k,t.x],null,null),(l()(),t.Lb(-1,0,["Show Back"])),(l()(),t.sb(9,0,null,null,2,"ion-button",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showBack()&&t),t}),o.S,o.d)),t.rb(10,49152,null,0,i.k,[t.h,t.k,t.x],null,null),(l()(),t.Lb(11,0,[" Review On ",""])),(l()(),t.sb(12,0,null,null,2,"ion-button",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showBack()&&t),t}),o.S,o.d)),t.rb(13,49152,null,0,i.k,[t.h,t.k,t.x],null,null),(l()(),t.Lb(14,0,[" Easiness ",""])),(l()(),t.sb(15,0,null,null,2,"ion-button",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showBack()&&t),t}),o.S,o.d)),t.rb(16,49152,null,0,i.k,[t.h,t.k,t.x],null,null),(l()(),t.Lb(17,0,[" Get Interval ",""])),(l()(),t.sb(18,0,null,null,2,"ion-button",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showBack()&&t),t}),o.S,o.d)),t.rb(19,49152,null,0,i.k,[t.h,t.k,t.x],null,null),(l()(),t.Lb(20,0,[" Last Review On ",""]))],null,(function(l,n){var u=n.component;l(n,4,0,u.message.text),l(n,5,0,!0),l(n,11,0,u.message.reviewTime),l(n,14,0,u.message.easinessFactor),l(n,17,0,u.message.getInterval()),l(n,20,0,u.message.lastReviewedTime)}))}function Wl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["class","moreHandle"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.openMoreContent()&&t),t}),null,null)),(l()(),t.sb(1,0,null,null,3,"div",[["class","openMoreHandle"]],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),t.sb(3,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),t.sb(4,0,null,null,0,"hr",[],null,null,null,null,null))],null,null)}function Rl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["class","actionButtons"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"dictionary",[],null,null,null,Dl,Nl)),t.rb(2,1622016,null,0,W,[N.a,i.Gb],{message:[0,"message"],messageComp:[1,"messageComp"]},null),(l()(),t.hb(16777216,null,null,1,null,Wl)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.message,u.messageComp),l(n,4,0,u.hasMoreContent())}),null)}function ql(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(1,null,["","\u0632\u0645\u0627\u0646 \u0628\u0639\u062f\u06cc \u06cc\u0627\u062f\u0622\u0648\u0631\u06cc"]))],null,(function(l,n){l(n,1,0,n.component.message.getReviewDate())}))}function zl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,ql)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.isFrontAndAllWords())}),null)}function Hl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,8,"div",[["class","wrapper"]],null,null,null,null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(2,278528,null,0,a.i,[a.u],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(l()(),t.hb(16777216,null,null,1,null,Al)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Rl)),t.rb(6,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,zl)),t.rb(8,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,"wrapper",u.fliped),l(n,4,0,u.front),l(n,6,0,u.isBack()),l(n,8,0,u.Show())}),null)}var Jl=function l(){_classCallCheck(this,l),console.log("Hello NewsComponent Component"),this.text="Hello World"},Ul=t.qb({encapsulation:0,styles:[[""]],data:{}});function Gl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,78,"div",[["class","newsSection"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,36,"div",[["class","newsSectionLeft"]],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,2,"div",[["class","header"]],null,null,null,null,null)),(l()(),t.sb(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["FYI"])),(l()(),t.sb(5,0,null,null,0,"div",[["class","newsborder"]],null,null,null,null,null)),(l()(),t.sb(6,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(l()(),t.sb(7,0,null,null,2,"div",[["class","subtitles"]],null,null,null,null,null)),(l()(),t.sb(8,0,null,null,1,"a",[["href","story/indigo-manhandle-controversy-air-india-namaste-jet-airways-dragged/1/1085321.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Air India trolls IndiGo, Jet Airways dragged into controversy; people have a field day"])),(l()(),t.sb(10,0,null,null,0,"p",[["class","newscaption"]],null,null,null,null,null)),(l()(),t.sb(11,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,['After IndiGo\'s botch up, Air India took their proper case with hilarious photos. One photo says, "We raise our hands only to say Namaste." Jet Airways was also dragged into the controversy.'])),(l()(),t.sb(13,0,null,null,0,"p",[],null,null,null,null,null)),(l()(),t.sb(14,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(l()(),t.sb(15,0,null,null,19,"div",[["class","normaltaxt"]],null,null,null,null,null)),(l()(),t.sb(16,0,null,null,18,"ul",[],null,null,null,null,null)),(l()(),t.sb(17,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(18,0,null,null,1,"a",[["href","story/toxic-smog-hangs-over-delhi-in-1952-london-redux/1/1085249.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Toxic smog hangs over Delhi in 1952 London redux"])),(l()(),t.sb(20,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(21,0,null,null,1,"a",[["href","story/delhi-beijing-smog-measures-cleanest-winter-years/1/1085223.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Beijing acts to bring in cleanest winter in years while Delhi does nothing"])),(l()(),t.sb(23,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(24,0,null,null,1,"a",[["href","story/delhi-airport-cisf-deployed-autistic-friendly-force-person-with-disabilities/1/1085398.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["CISF deployed at Delhi Airport becomes autistic friendly force"])),(l()(),t.sb(26,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(27,0,null,null,1,"a",[["href","story/chennai-airport-man-wearing-condom-heroin/1/1085174.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Dope: Chennai airport officials bust man wearing condom to hide heroin"])),(l()(),t.sb(29,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(30,0,null,null,1,"a",[["href","story/delhi-smog-delhi-traffic-police-issues-advisory-winter-pollution/1/1085119.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Delhi smog: Traffic police issues advisory for commuters"])),(l()(),t.sb(32,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(33,0,null,null,1,"a",[["href","story/demonitisation-india-2016-rumours/1/1084901.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Demonetisation anniversary: 9 rumours that made things worse"])),(l()(),t.sb(35,0,null,null,2,"div",[["class","more"]],null,null,null,null,null)),(l()(),t.sb(36,0,null,null,1,"a",[["href","section/343/1/fyi.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["More"])),(l()(),t.sb(38,0,null,null,40,"div",[["class","newsSectionRight"]],null,null,null,null,null)),(l()(),t.sb(39,0,null,null,4,"div",[["class","header"]],null,null,null,null,null)),(l()(),t.sb(40,0,null,null,3,"h2",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["CINEMA "])),(l()(),t.sb(42,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["NEWS"])),(l()(),t.sb(44,0,null,null,0,"div",[["class","newsborder"]],null,null,null,null,null)),(l()(),t.sb(45,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(l()(),t.sb(46,0,null,null,2,"div",[["class","subtitles"]],null,null,null,null,null)),(l()(),t.sb(47,0,null,null,1,"a",[["href","story/mahira-khan-ranbir-kapoor-smoking-photos-apology/1/1085399.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Mahira Khan apologises for photos with Ranbir Kapoor. Was it really a 'mistake'?"])),(l()(),t.sb(49,0,null,null,0,"p",[["class","newscaption"]],null,null,null,null,null)),(l()(),t.sb(50,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Mahira Khan opened up about the viral photos with Ranbir Kapoor and apologised for making a mistake."])),(l()(),t.sb(52,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["\xa0"])),(l()(),t.sb(54,0,null,null,0,"p",[],null,null,null,null,null)),(l()(),t.sb(55,0,null,null,0,"div",[["class","clear"]],null,null,null,null,null)),(l()(),t.sb(56,0,null,null,19,"div",[["class","normaltaxt"]],null,null,null,null,null)),(l()(),t.sb(57,0,null,null,18,"ul",[],null,null,null,null,null)),(l()(),t.sb(58,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(59,0,null,null,1,"a",[["href","story/fifty-shades-freed-trailer-bdsm-steamy-climax/1/1085184.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["WATCH Fifty Shades Freed trailer: BDSM and steamy climax for Christian Grey-Anastasia Steele now"])),(l()(),t.sb(61,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(62,0,null,null,1,"a",[["href","story/shah-rukh-khan-aryan-suhana-abram-star-kids/1/1085023.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["SEE: Shah Rukh Khan describes Aryan, Suhana, AbRam in one word each, and we couldn't agree more"])),(l()(),t.sb(64,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(65,0,null,null,1,"a",[["href","story/padmavati-deepika-padukone-all-you-need-to-know/1/1084997.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Padmavati vs History: Who said what and all that happened so far"])),(l()(),t.sb(67,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(68,0,null,null,1,"a",[["href","story/ae-dil-hai-mushkil-padmavati-politics-fight/1/1084956.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Ae Dil Hai Mushkil in 2016 to Padmavati now: How politics has held cinema hostage"])),(l()(),t.sb(70,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(71,0,null,null,1,"a",[["href","story/himesh-reshammiya-sonia-kapoor-marriage-details/1/1084953.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Suroor 2.0: Himesh Reshammiya and girlfriend Sonia Kapoor are getting married?"])),(l()(),t.sb(73,0,null,null,2,"li",[],null,null,null,null,null)),(l()(),t.sb(74,0,null,null,1,"a",[["href","story/tulsi-kumar-pregnant-first-child-photoshoot/1/1084950.html"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["SEE PICS: Singer Tulsi Kumar pregnant with first child, will welcome the baby in January 2018"])),(l()(),t.sb(76,0,null,null,2,"div",[["class","more"]],null,null,null,null,null)),(l()(),t.sb(77,0,null,null,1,"a",[["href","movies/"]],null,null,null,null,null)),(l()(),t.Lb(-1,null,["More"]))],null,null)}u("pY0Z");var Vl=function(){function l(){_classCallCheck(this,l),console.log("Hello AdsMessageComponent Component"),this.text="Hello World"}return _createClass(l,[{key:"getUrl",value:function(){return this.message.coverImage.url}},{key:"getIcon",value:function(){return this.message.icon.url}},{key:"getPlacementID",value:function(){return this.message.placemenet.id}}]),l}(),$l=t.qb({encapsulation:0,styles:[["ads-message[_ngcontent-%COMP%] ion-card.card[_ngcontent-%COMP%]{margin-left:0;margin-top:0;box-shadow:none}"]],data:{}});function Kl(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,21,"ion-card",[],[[8,"id",0]],null,null,o.V,o.f)),t.rb(2,49152,null,0,i.m,[t.h,t.k,t.x],null,null),(l()(),t.sb(3,0,null,0,0,"img",[["id","adCover"],["style","max-width: 100%; height: auto;"]],[[8,"src",4]],null,null,null,null)),(l()(),t.sb(4,0,null,0,18,"ion-card-content",[["text-wrap",""]],null,null,null,o.U,o.g)),t.rb(5,49152,null,0,i.n,[t.h,t.k,t.x],null,null),(l()(),t.sb(6,0,null,0,7,"ion-item",[],null,null,null,o.jb,o.u)),t.rb(7,49152,null,0,i.H,[t.h,t.k,t.x],null,null),(l()(),t.sb(8,0,null,0,2,"ion-avatar",[["item-left",""]],null,null,null,o.Q,o.b)),t.rb(9,49152,null,0,i.g,[t.h,t.k,t.x],null,null),(l()(),t.sb(10,0,null,0,0,"img",[["id","adIcon"]],[[8,"src",4]],null,null,null,null)),(l()(),t.sb(11,0,null,0,0,"h2",[["id","adTitle"]],null,null,null,null,null)),(l()(),t.sb(12,0,null,0,1,"p",[["id","adBody"]],null,null,null,null,null)),(l()(),t.Lb(13,null,[" "," "])),(l()(),t.sb(14,0,null,0,8,"ion-row",[],null,null,null,o.qb,o.B)),t.rb(15,49152,null,0,i.gb,[t.h,t.k,t.x],null,null),(l()(),t.sb(16,0,null,0,2,"ion-col",[["center",""],["small",""],["style","font-size: x-small;"],["text-left",""],["width-70",""]],null,null,null,o.X,o.i)),t.rb(17,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.sb(18,0,null,0,0,"span",[["id","adSocialContext"],["small",""]],null,null,null,null,null)),(l()(),t.sb(19,0,null,0,3,"ion-col",[["center",""],["text-right",""],["width-30",""]],null,null,null,o.X,o.i)),t.rb(20,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.sb(21,0,null,0,1,"button",[["color","secondary"],["id","adBtn"],["ion-button",""],["small",""]],null,null,null,null,null)),(l()(),t.Lb(22,null,[" "," "]))],null,(function(l,n){var u=n.component;l(n,1,0,t.wb(1,"",u.getPlacementID(),"")),l(n,3,0,t.wb(1,"",u.getUrl(),"")),l(n,10,0,t.wb(1,"",u.getIcon(),"")),l(n,13,0,u.message.body),l(n,22,0,u.message.buttonText)}))}var Yl=function l(){_classCallCheck(this,l),console.log("Hello PuzzleComponent Component"),this.text="Hello World"},Zl=t.qb({encapsulation:0,styles:[[""]],data:{}});function Ql(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,466,"table",[["border","0"],["cellpadding","0"],["cellspacing","18"],["width","200"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,465,"tbody",[],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(3,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["N"])),(l()(),t.sb(5,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(7,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(9,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["W"])),(l()(),t.sb(11,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(13,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(15,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(17,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(19,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(21,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(23,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(25,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Q"])),(l()(),t.sb(27,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(29,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(31,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(33,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(34,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(36,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(38,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Q"])),(l()(),t.sb(40,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(42,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(44,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["U"])),(l()(),t.sb(46,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(48,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(50,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(52,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(54,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["H"])),(l()(),t.sb(56,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(58,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(60,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(62,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(64,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(65,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["U"])),(l()(),t.sb(67,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(69,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(71,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(73,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(75,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(77,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(79,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(81,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(83,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(85,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(87,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["N"])),(l()(),t.sb(89,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(91,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(93,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(95,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(96,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Q"])),(l()(),t.sb(98,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(100,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["U"])),(l()(),t.sb(102,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(104,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(106,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["F"])),(l()(),t.sb(108,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(110,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(112,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(114,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(116,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["H"])),(l()(),t.sb(118,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(120,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(122,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(124,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["B"])),(l()(),t.sb(126,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(127,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(129,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(131,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(133,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["B"])),(l()(),t.sb(135,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(137,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(139,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["H"])),(l()(),t.sb(141,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(143,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(145,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(147,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(149,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(151,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(153,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(155,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(157,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(158,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(160,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(162,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(164,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(166,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(168,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(170,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(172,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(174,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(176,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(178,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(180,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(182,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["F"])),(l()(),t.sb(184,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["O"])),(l()(),t.sb(186,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(188,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(189,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(191,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["N"])),(l()(),t.sb(193,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(195,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["F"])),(l()(),t.sb(197,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(199,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["U"])),(l()(),t.sb(201,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["O"])),(l()(),t.sb(203,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["N"])),(l()(),t.sb(205,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(207,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["W"])),(l()(),t.sb(209,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(211,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Q"])),(l()(),t.sb(213,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(215,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(217,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(219,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(220,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["F"])),(l()(),t.sb(222,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(224,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(226,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["H"])),(l()(),t.sb(228,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(230,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(232,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(234,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(236,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(238,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["X"])),(l()(),t.sb(240,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(242,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(244,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(246,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(248,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(250,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(251,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(253,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(255,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["U"])),(l()(),t.sb(257,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(259,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(261,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(263,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(265,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(267,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(269,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(271,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["O"])),(l()(),t.sb(273,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(275,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(277,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["O"])),(l()(),t.sb(279,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(281,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(282,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(284,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(286,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(288,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["X"])),(l()(),t.sb(290,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(292,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(294,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(296,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(298,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(300,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["H"])),(l()(),t.sb(302,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(304,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(306,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(308,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(310,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(312,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(313,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(315,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(317,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(319,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Q"])),(l()(),t.sb(321,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["O"])),(l()(),t.sb(323,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(325,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(327,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["W"])),(l()(),t.sb(329,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(331,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(333,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(335,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(337,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["G"])),(l()(),t.sb(339,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(341,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["N"])),(l()(),t.sb(343,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(344,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["B"])),(l()(),t.sb(346,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(348,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(350,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(352,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Q"])),(l()(),t.sb(354,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(356,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(358,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(360,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(362,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(364,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(366,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(368,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(370,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["M"])),(l()(),t.sb(372,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(374,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(375,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(377,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(379,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(381,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["W"])),(l()(),t.sb(383,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["W"])),(l()(),t.sb(385,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["N"])),(l()(),t.sb(387,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["B"])),(l()(),t.sb(389,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(391,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(393,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(395,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["F"])),(l()(),t.sb(397,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(399,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(401,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["J"])),(l()(),t.sb(403,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(405,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(406,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(408,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(410,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["V"])),(l()(),t.sb(412,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(414,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["E"])),(l()(),t.sb(416,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Z"])),(l()(),t.sb(418,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["X"])),(l()(),t.sb(420,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["U"])),(l()(),t.sb(422,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["S"])),(l()(),t.sb(424,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Y"])),(l()(),t.sb(426,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(428,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["D"])),(l()(),t.sb(430,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["I"])),(l()(),t.sb(432,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["L"])),(l()(),t.sb(434,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["C"])),(l()(),t.sb(436,0,null,null,30,"tr",[],null,null,null,null,null)),(l()(),t.sb(437,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(439,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["T"])),(l()(),t.sb(441,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(443,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(445,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["A"])),(l()(),t.sb(447,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(449,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["N"])),(l()(),t.sb(451,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["R"])),(l()(),t.sb(453,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["W"])),(l()(),t.sb(455,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["F"])),(l()(),t.sb(457,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["O"])),(l()(),t.sb(459,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["K"])),(l()(),t.sb(461,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["P"])),(l()(),t.sb(463,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["O"])),(l()(),t.sb(465,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["B"]))],null,null)}var Xl=function l(){_classCallCheck(this,l),console.log("Hello PartnerComponent Component"),this.text="Hello World"},ln=t.qb({encapsulation:0,styles:[[""]],data:{}});function nn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t.Lb(1,null,[" ","\n"]))],null,(function(l,n){l(n,1,0,n.component.text)}))}var un=function l(){_classCallCheck(this,l),console.log("Hello IdiomComponent Component"),this.text="Hello World"},tn=t.qb({encapsulation:0,styles:[[""]],data:{}});function en(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["title"])),(l()(),t.sb(3,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),t.sb(4,0,null,null,0,"img",[["src","../../../assets/icon/favicon.ico"]],null,null,null,null,null)),(l()(),t.sb(5,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),t.sb(6,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Am Ziele deiner W\xfcnsche, wirst du jedenfalls eines vermiessen : dein Wandern zum ziel"])),(l()(),t.sb(8,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["\u062f\u0631 \u0645\u0642\u0635\u062f \u0622\u0631\u0632\u0648 \u0647\u0627\u06cc\u062a\u060c \u0628\u0647 \u0647\u0631 \u062d\u0627\u0644 \u06cc\u06a9 \u0686\u06cc\u0632 \u0631\u0627 \u0627\u0632 \u062f\u0633\u062a \u062e\u0648\u0627\u0647\u06cc \u062f\u0627\u062f : \u062d\u0631\u06a9\u062a\u062a \u0628\u0647 \u0633\u0648\u06cc \u0647\u062f\u0641. \u0645\u0627\u0631\u06cc \u0641\u0648\u0646 \u0627\u0628\u0646\u0631 - \u0627\u0634\u0646\u0628\u0627\u062e\n\u0646\u0648\u06cc\u0633\u0646\u062f\u0647 \u0627\u062a\u0631\u06cc\u0634\u06cc 1916 - 1830 "]))],null,null)}u("p9zK");var sn=function(){function l(n){_classCallCheck(this,l),this.chatsManager=n,this.intervalNumber=0}return _createClass(l,[{key:"ngOnInit",value:function(){console.log("@Input message in quize:",this.quizMessage),console.log("@Input chat in quize:",this.chat),console.log("@Input messageComp in quize:",this.messageComp)}},{key:"selectAnswer",value:function(l){var n=this;l.canSelect()&&(this.disableButtons(),l.selected=!0,this.interval=setInterval((function(){n.toggleButton(l,l.isRight)}),80),this.calculateReward(l))}},{key:"calculateReward",value:function(l){l.isRight?this.messageComp.userManager.user.points+=40:this.messageComp.userManager.user.points-=10,this.messageComp.userManager.save()}},{key:"toggleButton",value:function(l,n){l.isRight=!l.isRight,this.intervalNumber++,7==this.intervalNumber&&(this.stopBlinking(l),this.showRightAnswer())}},{key:"stopBlinking",value:function(l){l.isRight=!l.isRight,this.intervalNumber=0,l.selected=!0,clearInterval(this.interval),this.messageComp.saveContent()}},{key:"disableButtons",value:function(){var l,n=_createForOfIteratorHelper(this.quizMessage.buttons);try{for(n.s();!(l=n.n()).done;){l.value.setSelectable(!1)}}catch(u){n.e(u)}finally{n.f()}}},{key:"showRightAnswer",value:function(){var l,n=_createForOfIteratorHelper(this.quizMessage.buttons);try{for(n.s();!(l=n.n()).done;){var u=l.value;u.isRight&&u.setSelected(!0)}}catch(t){n.e(t)}finally{n.f()}}},{key:"getClass",value:function(l){return null==l||null==l.selected?"":l.selected&&l.isRight?"right":l.selected&&!l.isRight?"wrong":void 0}}]),l}(),on=t.qb({encapsulation:0,styles:[[".buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:38px;justify-content:center;align-items:center;width:100%;margin-top:4px;border-radius:10px;background-color:#c2e5ef}.wrong[_ngcontent-%COMP%]{background-color:#f77956}.right[_ngcontent-%COMP%]{background-color:#b4ff00}.disabled[_ngcontent-%COMP%]{background-color:#484948}"]],data:{}});function an(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"div",[["class","buttons"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.selectAnswer(l.context.$implicit)&&t),t}),null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(2,278528,null,0,a.i,[a.u],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(l()(),t.Lb(3,null,[" ","\n"]))],(function(l,n){l(n,2,0,"buttons",n.component.getClass(n.context.$implicit))}),(function(l,n){l(n,3,0,n.context.$implicit.name)}))}function rn(l){return t.Nb(0,[(l()(),t.hb(16777216,null,null,1,null,an)),t.rb(1,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){l(n,1,0,n.component.quizMessage.buttons)}),null)}var cn=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%]{margin-bottom:15px!important;display:block;width:90%;background:#bbbbdc;height:auto;border-color:#00f;position:relative;border-width:2px}[_nghost-%COMP%] ion-col[_ngcontent-%COMP%]{font-size:17px!important;font-weight:700}[_nghost-%COMP%] .header[_ngcontent-%COMP%]{padding-bottom:3px;flex-grow:10}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .avatarchat[_ngcontent-%COMP%]{float:right;margin-right:-48px;margin-top:-2px}[_nghost-%COMP%] .avatardic[_ngcontent-%COMP%]{float:right;margin-right:-45px}[_nghost-%COMP%] ion-content[_ngcontent-%COMP%] message[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] ion-col[_ngcontent-%COMP%]{font-weight:100!important;font-size:1.1em!important}[_nghost-%COMP%] leitnerAdded[_ngcontent-%COMP%]{color:green}[_nghost-%COMP%] .iconPlace[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .iconPlace[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:#000}[_nghost-%COMP%] .selectOverlay[_ngcontent-%COMP%]{width:100vw;left:-15px;height:100%;position:absolute}[_nghost-%COMP%] .blue[_ngcontent-%COMP%]{color:#340dd0}[_nghost-%COMP%] .footer[_ngcontent-%COMP%]{width:100%;padding:3px 5px;height:23px;background:0 0!important}[_nghost-%COMP%] .footer[_ngcontent-%COMP%] .shareIcons[_ngcontent-%COMP%] ion-icon.icon[_ngcontent-%COMP%]{float:right}[_nghost-%COMP%] .leitnerBtn[_ngcontent-%COMP%]{position:absolute;right:-20px}[_nghost-%COMP%] .moreBtn[_ngcontent-%COMP%]{color:#fff;font-size:1.3rem;width:20px;position:absolute;height:20px;text-align:center;z-index:2;right:10px;top:-5px}[_nghost-%COMP%] .moreBtn[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:7vw}[_nghost-%COMP%] .moreEnglish[_ngcontent-%COMP%]{right:10px}[_nghost-%COMP%] .morePersian[_ngcontent-%COMP%]{left:10px}[_nghost-%COMP%] .sender[_ngcontent-%COMP%]{position:absolute;width:15vw;height:15vw;border-radius:100%;background:#0ff;left:83vw}[_nghost-%COMP%] .sender[_ngcontent-%COMP%] div.avatarName[_ngcontent-%COMP%]{border-radius:100%;height:100%;width:100%;font-size:201%;text-align:center;margin-top:20%}[_nghost-%COMP%] figure[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] ion-infinite-scroll[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] ion-infinite-scroll[_ngcontent-%COMP%] ion-infinite-scroll-content[_ngcontent-%COMP%]{min-height:0}[_nghost-%COMP%] ion-infinite-scroll[_ngcontent-%COMP%] ion-infinite-scroll-content[_ngcontent-%COMP%] .infinite-loading[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .addWordBtn[_ngcontent-%COMP%]{position:relative;float:right;scale:.4;border-radius:50%;margin-top:-22px;margin-right:-5px;padding-top:20p;font-size:1.913rem}[_nghost-%COMP%] .moreHandle[_ngcontent-%COMP%]{height:20px;background:#fff;position:relative;border-bottom:3px solid #6188c2;margin-top:-5px}[_nghost-%COMP%] .moreHandle[_ngcontent-%COMP%] .openMoreHandle[_ngcontent-%COMP%]{top:20px;height:10px;background:#6188c2;width:50%;position:relative;border-radius:0 0 20px 20px;margin:0 auto}[_nghost-%COMP%] .moreHandle[_ngcontent-%COMP%] .openMoreHandle[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{height:1px;margin:1.5px auto;width:39%;background-color:rgba(255,255,255,.4)}.container[_ngcontent-%COMP%]{width:200px;height:260px;position:relative;perspective:800px}.card[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;display:block;transform-style:preserve-3d;transition:transform 1s;transition:transform 1s;transform-style:preserve-3d}.card[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{margin:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;display:block;height:100%;width:100%;line-height:80px;color:#fff;text-align:center;font-weight:700;font-size:3rem;position:relative;-webkit-backface-visibility:hidden;backface-visibility:visible}.card[_ngcontent-%COMP%] .front[_ngcontent-%COMP%]{position:relative;background:#07bee8}.card.flipped[_ngcontent-%COMP%]{transform:rotateY(180deg)}.card[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{background:0 0;position:relative;line-height:30px;transform:rotateY(180deg)!important}.easeIn[_ngcontent-%COMP%]{transform:translate(-110%,100%)}.easeInAnimation[_ngcontent-%COMP%]{transition:.4s cubic-bezier(0,.22,0,1.04)}.easyBtn[_ngcontent-%COMP%]{background:#b4ff00;color:#000;width:300px;height:40px;border-radius:45px;margin-top:5px;box-shadow:2px 1px gray}.medBtn[_ngcontent-%COMP%]{background-color:#c1e4ef;color:#000;width:300px;height:40px;border-radius:45px;margin-top:2px;box-shadow:2px 1px gray}.hardBtn[_ngcontent-%COMP%]{background-color:#f77956;color:#000;width:300px;height:40px;border-radius:45px;margin-top:2px;box-shadow:2px 1px gray}"]],data:{}});function bn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,0,"div",[["class","selectOverlay"]],null,null,null,null,null))],null,null)}function hn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"dialog-menu-option-message",[["class","optionDialogEnglish"]],null,null,null,G,J)),t.rb(1,5292032,null,0,z,[m.a,i.Fb,H.j],{message:[0,"message"],chat:[1,"chat"],parent:[2,"parent"]},null)],(function(l,n){var u=n.component;l(n,1,0,u.message,u.chat,u)}),null)}function gn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["class","moreBtn moreEnglish"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"ion-icon",[["name","ellipsis-vertical"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.moreOptions()&&t),t}),o.fb,o.q)),t.rb(2,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.hb(16777216,null,null,1,null,hn)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,"ellipsis-vertical"),l(n,4,0,u.message.isShowOptionMenu())}),null)}function dn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"dialog-menu-option-message",[["class","optionDialogPersian"]],null,null,null,G,J)),t.rb(1,5292032,null,0,z,[m.a,i.Fb,H.j],{message:[0,"message"],chat:[1,"chat"],parent:[2,"parent"]},null)],(function(l,n){var u=n.component;l(n,1,0,u.message,u.chat,u)}),null)}function fn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["class","moreBtn morePersian"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"ion-icon",[["name","ellipsis-vertical"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.moreOptions()&&t),t}),o.fb,o.q)),t.rb(2,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.hb(16777216,null,null,1,null,dn)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,"ellipsis-vertical"),l(n,4,0,u.message.isShowOptionMenu())}),null)}function mn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"ion-icon",[["name","chevron-down"]],null,null,null,o.fb,o.q)),t.rb(1,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){l(n,1,0,"chevron-down")}),null)}function pn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"ion-icon",[["name","chevron-forward"]],null,null,null,o.fb,o.q)),t.rb(1,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){l(n,1,0,"chevron-forward")}),null)}function vn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["class","iconPlace"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,mn)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,pn)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,!u.message.minimized),l(n,4,0,u.message.minimized)}),null)}function kn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"ion-col",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.toggle()&&t),t}),o.X,o.i)),t.rb(1,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.hb(16777216,null,0,1,null,vn)),t.rb(3,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.Lb(4,0,[" "," "]))],(function(l,n){l(n,3,0,!n.component.message.isChatMessage())}),(function(l,n){l(n,4,0,n.component.message.text)}))}function Cn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"ion-icon",[["name","chevron-down"]],null,null,null,o.fb,o.q)),t.rb(1,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){l(n,1,0,"chevron-down")}),null)}function Mn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"ion-icon",[["name","chevron-forward"]],null,null,null,o.fb,o.q)),t.rb(1,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){l(n,1,0,"chevron-forward")}),null)}function On(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["class","iconPlace"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Cn)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Mn)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,!u.message.minimized),l(n,4,0,u.message.minimized)}),null)}function yn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,6,"ion-col",[["dir","rtl"]],[[1,"dir",0]],[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.toggle()&&t),t}),o.X,o.i)),t.Ib(6144,null,V.c,null,[V.b]),t.rb(2,49152,null,0,i.t,[t.h,t.k,t.x],null,null),t.rb(3,1196032,null,0,V.b,[],{dir:[0,"dir"]},null),(l()(),t.hb(16777216,null,0,1,null,On)),t.rb(5,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.Lb(6,0,[" "," "]))],(function(l,n){var u=n.component;l(n,3,0,"rtl"),l(n,5,0,!u.message.isChatMessage())}),(function(l,n){var u=n.component;l(n,0,0,t.Eb(n,3)._rawDir),l(n,6,0,u.message.text)}))}function wn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","avatarchat"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"avatar",[],null,null,null,Q,Y)),t.rb(2,1097728,null,0,K,[$.a,y.a],{parent:[0,"parent"]},null)],(function(l,n){l(n,2,0,n.component)}),null)}function Ln(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","avatardic"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"avatar",[],null,null,null,Q,Y)),t.rb(2,1097728,null,0,K,[$.a,y.a],{parent:[0,"parent"]},null)],(function(l,n){l(n,2,0,n.component)}),null)}function xn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,22,"div",[],null,null,null,null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(2,278528,null,0,a.i,[a.u],{ngClass:[0,"ngClass"]},null),(l()(),t.hb(16777216,null,null,1,null,bn)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.sb(5,0,null,null,17,"div",[["class","header-container"]],null,null,null,null,null)),(l()(),t.sb(6,0,null,null,12,"div",[["class","header"]],null,null,null,null,null)),(l()(),t.sb(7,0,null,null,11,"ion-grid",[],null,null,null,o.db,o.o)),t.rb(8,49152,null,0,i.A,[t.h,t.k,t.x],null,null),(l()(),t.sb(9,0,null,0,9,"ion-row",[],null,null,null,o.qb,o.B)),t.rb(10,49152,null,0,i.gb,[t.h,t.k,t.x],null,null),(l()(),t.hb(16777216,null,0,1,null,gn)),t.rb(12,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,fn)),t.rb(14,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,kn)),t.rb(16,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,yn)),t.rb(18,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,wn)),t.rb(20,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Ln)),t.rb(22,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.cardmodel()),l(n,4,0,u.selected),l(n,12,0,!u.isPersian()),l(n,14,0,u.isPersian()),l(n,16,0,!u.isPersian()),l(n,18,0,u.isPersian()),l(n,20,0,u.isShowAvatar()&&!u.getType("dictionary")&&!u.getType("leitner")&&!u.message.isQuiz()),l(n,22,0,u.isShowAvatar()&&(u.getType("dictionary")||u.getType("leitner")||u.message.isQuiz()))}),null)}function Pn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["class","moreHandle"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.openMoreContent()&&t),t}),null,null)),(l()(),t.sb(1,0,null,null,3,"div",[["class","openMoreHandle"]],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),t.sb(3,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),t.sb(4,0,null,null,0,"hr",[],null,null,null,null,null))],null,null)}function _n(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"dictionary",[],null,null,null,Dl,Nl)),t.rb(2,1622016,[[2,4],["DictionaryComponent",4]],0,W,[N.a,i.Gb],{message:[0,"message"],messageComp:[1,"messageComp"]},null),(l()(),t.hb(16777216,null,null,1,null,Pn)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.message,u),l(n,4,0,u.hasMoreContent())}),null)}function In(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,2,"figure",[["class","front"]],[[8,"hidden",0]],[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.toggleCard()&&t),t}),null,null)),(l()(),t.sb(2,0,null,null,1,"leitner",[],null,null,null,Hl,El)),t.rb(3,49152,null,0,Bl,[m.a,R.a],{message:[0,"message"],messageComp:[1,"messageComp"],chat:[2,"chat"],front:[3,"front"],back:[4,"back"]},null),(l()(),t.sb(4,0,null,null,2,"figure",[["class","back"]],[[8,"hidden",0]],null,null,null,null)),(l()(),t.sb(5,0,null,null,1,"leitner",[],null,null,null,Hl,El)),t.rb(6,49152,null,0,Bl,[m.a,R.a],{message:[0,"message"],messageComp:[1,"messageComp"],chat:[2,"chat"],front:[3,"front"],back:[4,"back"]},null)],(function(l,n){var u=n.component;l(n,3,0,u.message,u,u.chat,!0,!1),l(n,6,0,u.message,u,u.chat,!1,u.typic)}),(function(l,n){var u=n.component;l(n,1,0,!u.isFront()),l(n,4,0,u.isFront())}))}function Nn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"news",[],null,null,null,Gl,Ul)),t.rb(2,49152,null,0,Jl,[],null,null)],null,null)}function jn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"ads-message",[],null,null,null,Kl,$l)),t.rb(2,49152,null,0,Vl,[],{message:[0,"message"]},null)],(function(l,n){l(n,2,0,n.component.message)}),null)}function Sn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"puzzle",[],null,null,null,Ql,Zl)),t.rb(2,49152,null,0,Yl,[],null,null)],null,null)}function Tn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"partner",[],null,null,null,nn,ln)),t.rb(2,49152,null,0,Xl,[],null,null)],null,null)}function Fn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"idiom",[],null,null,null,en,tn)),t.rb(2,49152,null,0,un,[],null,null)],null,null)}function Dn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"quiz",[],null,null,null,rn,on)),t.rb(2,114688,null,0,sn,[m.a],{quizMessage:[0,"quizMessage"],chat:[1,"chat"],messageComp:[2,"messageComp"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.message,u.chat,u)}),null)}function Bn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,7,"div",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.addNewWord()&&t),t}),null,null)),(l()(),t.sb(1,0,null,null,3,"ion-fab-button",[["class","addWordBtn"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.addNewWord()&&t),t}),o.Z,o.l)),t.rb(2,49152,null,0,i.x,[t.h,t.k,t.x],null,null),(l()(),t.sb(3,0,null,0,1,"ion-icon",[["name","add"]],null,null,null,o.fb,o.q)),t.rb(4,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.sb(5,0,null,null,2,"div",[["class","shareIcons"]],[[8,"hidden",0]],null,null,null,null)),(l()(),t.sb(6,0,null,null,1,"ion-icon",[["name","md-share"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.share()&&t),t}),o.fb,o.q)),t.rb(7,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){l(n,4,0,"add"),l(n,7,0,"md-share")}),(function(l,n){l(n,5,0,!0)}))}function En(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,2,null,Bn)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),t.Fb(131072,a.b,[t.h])],(function(l,n){var u=n.component;l(n,2,0,t.Mb(n,2,0,t.Eb(n,3).transform(u.hasAddNewBtn)))}),null)}function An(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"ion-icon",[["name","checkmark-outline"]],null,null,null,o.fb,o.q)),t.rb(1,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){l(n,1,0,"checkmark-outline")}),null)}function Wn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"ion-icon",[["name","checkmark-sharp"]],null,null,null,o.fb,o.q)),t.rb(1,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null)],(function(l,n){l(n,1,0,"checkmark-sharp")}),null)}function Rn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,An)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Wn)),t.rb(4,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.message.isSent()),l(n,4,0,u.message.isDelivered())}),null)}function qn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Rn)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.message.received)}),null)}function zn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"puzzle",[],null,null,null,Ql,Zl)),t.rb(2,49152,null,0,Yl,[],null,null)],null,null)}function Hn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,2,"button",[["class","easyBtn"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.easy()&&t),t}),null,null)),(l()(),t.Lb(2,null,["",""])),t.Fb(131072,H.i,[H.j,t.h]),(l()(),t.sb(4,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),t.sb(5,0,null,null,2,"button",[["class","medBtn"],["round",""]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.medium()&&t),t}),null,null)),(l()(),t.Lb(6,null,["",""])),t.Fb(131072,H.i,[H.j,t.h]),(l()(),t.sb(8,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),t.sb(9,0,null,null,2,"button",[["class","hardBtn"],["round",""]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.hard()&&t),t}),null,null)),(l()(),t.Lb(10,null,["",""])),t.Fb(131072,H.i,[H.j,t.h])],null,(function(l,n){l(n,2,0,t.Mb(n,2,0,t.Eb(n,3).transform("BUTTONS.easy"))),l(n,6,0,t.Mb(n,6,0,t.Eb(n,7).transform("BUTTONS.medium"))),l(n,10,0,t.Mb(n,10,0,t.Eb(n,11).transform("BUTTONS.hard")))}))}function Jn(l){return t.Nb(0,[t.Jb(671088640,1,{msgElement:0}),t.Jb(671088640,2,{dictionaryComp:0}),(l()(),t.hb(16777216,null,null,1,null,xn)),t.rb(3,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.sb(4,0,null,null,18,"div",[],[[8,"hidden",0]],null,null,null,null)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(6,278528,null,0,a.i,[a.u],{ngClass:[0,"ngClass"]},null),(l()(),t.hb(16777216,null,null,1,null,_n)),t.rb(8,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,In)),t.rb(10,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Nn)),t.rb(12,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,jn)),t.rb(14,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Sn)),t.rb(16,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Tn)),t.rb(18,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Fn)),t.rb(20,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Dn)),t.rb(22,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,En)),t.rb(24,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.sb(25,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,qn)),t.rb(27,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,zn)),t.rb(29,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Hn)),t.rb(31,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,3,0,!u.message.isChatMessage()),l(n,6,0,u.getClassForBody()),l(n,8,0,u.getType("dictionary")),l(n,10,0,u.getType("leitner")),l(n,12,0,u.getType("news")),l(n,14,0,u.getType("adsMessage")),l(n,16,0,u.getType("puzzle")),l(n,18,0,u.getType("partner")),l(n,20,0,u.getType("idiom")),l(n,22,0,u.message.isQuiz()),l(n,24,0,!u.message.minimized&&u.message.hasFooter()),l(n,27,0,!u.getType("dictionary")&&!u.getType("leitner")&&!u.message.isQuiz()),l(n,29,0,u.getType("puzzle")),l(n,31,0,!u.isFront())}),(function(l,n){l(n,4,0,n.component.message.minimized)}))}var Un=u("ri/Y"),Gn=u("HcDZ"),Vn=u("kbZ1"),$n=u("h4wn"),Kn=u("sk1z"),Yn=u("s7LF"),Zn=function(){function l(n,u){_classCallCheck(this,l),this.chatsManager=n,this.userManager=u,this.segments="Study"}return _createClass(l,[{key:"ngOnInit",value:function(){console.log("this.chat in chatsegment component:",this.chat)}},{key:"ngAfterContentInit",value:function(){}},{key:"ionViewDidLoad",value:function(){this.showNewWords()}},{key:"isType",value:function(l){return this.chat.type==l}},{key:"openDay",value:function(l){}},{key:"showAllWords",value:function(){this.chat.isReviewWords()&&(this.chat.setReviewWords(!1),this.chat.clearMessages(),this.chatsManager.reload(this.chat))}},{key:"showNewWords",value:function(){this.chat.isLeitner()&&(this.chat.setReviewWords(!0),this.chatsManager.reload(this.chat))}},{key:"getSegmentLength",value:function(l){return""}},{key:"getColor",value:function(l){return this.chat.getSegmentLength(l)>5?"danger":"accent"}},{key:"theme",value:function(){return!0===this.userManager.theme?(this.myval="mood1",!0):(this.myval="mood2",!1)}}]),l}(),Qn=t.qb({encapsulation:0,styles:[["chat-segments[_ngcontent-%COMP%] .leitnerSegments[_ngcontent-%COMP%]{position:relative;left:0;width:100%;background:#f8f8f8;z-index:2;border-top:1px solid #e2dddd}chat-segments[_ngcontent-%COMP%] .leitnerSegments[_ngcontent-%COMP%] ion-segment-button.segment-button.segment-activated[_ngcontent-%COMP%]{flex-grow:7;color:#92a586}chat-segments[_ngcontent-%COMP%] .leitnerSegments[_ngcontent-%COMP%] .segment-button[_ngcontent-%COMP%]{color:#4f555f}chat-segments[_ngcontent-%COMP%] ion-badge[_ngcontent-%COMP%]{position:absolute;left:50%;opacity:.9;padding:2px 4px;font-size:1.1rem}chat-segments[_ngcontent-%COMP%] ion-badge[_ngcontent-%COMP%] ~ ion-icon[_ngcontent-%COMP%]{margin-right:1.2rem}.innight[_ngcontent-%COMP%]{color:#add8e6}"]],data:{}});function Xn(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","innight"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "])),t.Fb(131072,H.i,[H.j,t.h])],null,(function(l,n){l(n,1,0,t.Mb(n,1,0,t.Eb(n,2).transform("TITLE.todayWords")))}))}function lu(l){return t.Nb(0,[(l()(),t.Lb(0,null,[" "," "])),t.Fb(131072,H.i,[H.j,t.h])],null,(function(l,n){l(n,0,0,t.Mb(n,0,0,t.Eb(n,1).transform("TITLE.todayWords")))}))}function nu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["class","innight"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" "," "])),t.Fb(131072,H.i,[H.j,t.h])],null,(function(l,n){l(n,1,0,t.Mb(n,1,0,t.Eb(n,2).transform("TITLE.allWords")))}))}function uu(l){return t.Nb(0,[(l()(),t.Lb(0,null,[" "," "])),t.Fb(131072,H.i,[H.j,t.h])],null,(function(l,n){l(n,0,0,t.Mb(n,0,0,t.Eb(n,1).transform("TITLE.allWords")))}))}function tu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,23,"div",[["class","leitnerSegments"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,22,"ion-segment",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"ionBlur"],[null,"ionChange"]],(function(l,n,u){var e=!0,s=l.component;return"ionBlur"===n&&(e=!1!==t.Eb(l,2)._handleBlurEvent(u.target)&&e),"ionChange"===n&&(e=!1!==t.Eb(l,2)._handleChangeEvent(u.target)&&e),"ngModelChange"===n&&(e=!1!==(s.segments=u)&&e),e}),o.sb,o.C)),t.rb(2,4341760,null,0,i.Mb,[t.p,t.k],null,null),t.Ib(1024,null,Yn.e,(function(l){return[l]}),[i.Mb]),t.rb(4,671744,null,0,Yn.h,[[8,null],[8,null],[8,null],[6,Yn.e]],{model:[0,"model"]},{update:"ngModelChange"}),t.Ib(2048,null,Yn.f,null,[Yn.h]),t.rb(6,16384,null,0,Yn.g,[[4,Yn.f]],null,null),t.rb(7,49152,null,0,i.ib,[t.h,t.k,t.x],null,null),(l()(),t.sb(8,0,null,0,7,"ion-segment-button",[["value","Study"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showNewWords()&&t),t}),o.rb,o.D)),t.rb(9,49152,null,0,i.jb,[t.h,t.k,t.x],{value:[0,"value"]},null),(l()(),t.hb(16777216,null,0,1,null,Xn)),t.rb(11,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),t.hb(0,[["cond1",2]],0,0,null,lu)),(l()(),t.sb(13,0,null,0,2,"ion-badge",[["id","notifications-badge"]],null,null,null,o.R,o.c)),t.rb(14,49152,null,0,i.j,[t.h,t.k,t.x],{color:[0,"color"]},null),(l()(),t.Lb(15,0,["",""])),(l()(),t.sb(16,0,null,0,7,"ion-segment-button",[["value","All"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showAllWords()&&t),t}),o.rb,o.D)),t.rb(17,49152,null,0,i.jb,[t.h,t.k,t.x],{value:[0,"value"]},null),(l()(),t.hb(16777216,null,0,1,null,nu)),t.rb(19,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),t.hb(0,[["cond2",2]],0,0,null,uu)),(l()(),t.sb(21,0,null,0,2,"ion-badge",[["id","notifications-badge"]],null,null,null,o.R,o.c)),t.rb(22,49152,null,0,i.j,[t.h,t.k,t.x],{color:[0,"color"]},null),(l()(),t.Lb(23,0,["",""]))],(function(l,n){var u=n.component;l(n,4,0,u.segments),l(n,9,0,"Study"),l(n,11,0,!u.theme(),t.Eb(n,12)),l(n,14,0,t.wb(1,"",u.getColor(0),"")),l(n,17,0,"All"),l(n,19,0,!u.theme(),t.Eb(n,20)),l(n,22,0,t.wb(1,"",u.getColor(1),""))}),(function(l,n){var u=n.component;l(n,1,0,t.Eb(n,6).ngClassUntouched,t.Eb(n,6).ngClassTouched,t.Eb(n,6).ngClassPristine,t.Eb(n,6).ngClassDirty,t.Eb(n,6).ngClassValid,t.Eb(n,6).ngClassInvalid,t.Eb(n,6).ngClassPending),l(n,15,0,u.getSegmentLength(0)),l(n,23,0,u.getSegmentLength(1))}))}function eu(l){return t.Nb(0,[(l()(),t.hb(16777216,null,null,1,null,tu)),t.rb(1,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,1,0,n.component.isType("leitner"))}),null)}var su=u("pLpT"),ou=u("neAe"),iu=u("xNyf"),au=u("GAbP"),ru=u("F9l0"),cu=u("wZ9J"),bu=u("Zr1d"),hu=u("+her"),gu=u("p74H"),du=u("++lw"),fu=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%] ion-header[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .menuBtn[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%]{position:absolute;top:-20px;z-index:2;left:40px}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] message.zindex1[_ngcontent-%COMP%]{z-index:1}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] message.received[_ngcontent-%COMP%]{float:right;margin-right:13vw}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] ion-content.content[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%]{padding-left:4px;padding-right:4px}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] .overlay[_ngcontent-%COMP%]{width:100vw;background:0 0;height:100vh;top:0;position:fixed;left:0}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] .leitnerSegments[_ngcontent-%COMP%]{position:relative;left:0;width:100%;background:#f8f8f8;z-index:2;border-top:1px solid #e2dddd}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] .leitnerSegments[_ngcontent-%COMP%] ion-segment-button.segment-button.segment-activated[_ngcontent-%COMP%]{flex-grow:7;color:#060606}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] .leitnerSegments[_ngcontent-%COMP%] .segment-button[_ngcontent-%COMP%]{color:#4f555f}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] ion-content.content[_ngcontent-%COMP%]{background-color:green}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] ion-infinite-scroll[_ngcontent-%COMP%]{display:block;width:100%;float:left}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] ion-infinite-scroll[_ngcontent-%COMP%] ion-spinner.spinner.spinner-bubbles[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] debug-dialog[_ngcontent-%COMP%] .clickableArea[_ngcontent-%COMP%]{width:200px;height:200px;background:red;z-index:2;position:fixed}[_nghost-%COMP%]{padding-bottom:40px}[_nghost-%COMP%] ion-content[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] ion-content[_ngcontent-%COMP%] div.scroll-content[_ngcontent-%COMP%]{padding-bottom:80px!important;margin-top:0!important}[_nghost-%COMP%] ion-content[_ngcontent-%COMP%] .fixed-content[_ngcontent-%COMP%]{margin-top:0}"]],data:{}});function mu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,0,"div",[["class","overlay"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.chat.setMessageOptionOverlay(!1)&&t),t}),null,null))],null,null)}function pu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"ion-spinner",[["icon","ios-small"]],null,null,null,o.xb,o.I)),t.rb(1,49152,null,0,i.pb,[t.h,t.k,t.x],null,null)],null,null)}function vu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"message",[],null,null,null,Jn,cn)),t.Ib(512,null,a.u,a.v,[t.q,t.r,t.k,t.D]),t.rb(2,278528,null,0,a.i,[a.u],{ngClass:[0,"ngClass"]},null),t.rb(3,5292032,[[3,4]],0,q,[p.a,v.a,i.a,k.a,y.a,m.a,i.Fb,_.a,x.a,i.Gb,w.a,O.a,R.a],{messageObject:[0,"messageObject"],chat:[1,"chat"],content:[2,"content"]},null)],(function(l,n){var u=n.component;l(n,2,0,u.getClass(n.context.$implicit)),l(n,3,0,n.context.$implicit,u.chat,u.content)}),null)}function ku(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,12,"div",[["class","messagesArea"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,3,"ion-infinite-scroll",[["position","top"],["threshold","65%"]],null,[[null,"ionInfinite"]],(function(l,n,u){var t=!0;return"ionInfinite"===n&&(t=!1!==l.component.doInfinite(u)&&t),t}),o.hb,o.r)),t.rb(2,49152,null,0,i.E,[t.h,t.k,t.x],{position:[0,"position"],threshold:[1,"threshold"]},null),(l()(),t.sb(3,0,null,0,1,"ion-infinite-scroll-content",[["loadingSpinner","bubbles"]],null,null,null,o.gb,o.s)),t.rb(4,49152,null,0,i.F,[t.h,t.k,t.x],{loadingSpinner:[0,"loadingSpinner"]},null),(l()(),t.hb(16777216,null,null,1,null,pu)),t.rb(6,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,vu)),t.rb(8,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),(l()(),t.sb(9,0,null,null,3,"ion-infinite-scroll",[["position","bottom"],["threshold","35%"]],null,[[null,"ionInfinite"]],(function(l,n,u){var t=!0;return"ionInfinite"===n&&(t=!1!==l.component.doInfiniteBottom(u)&&t),t}),o.hb,o.r)),t.rb(10,49152,null,0,i.E,[t.h,t.k,t.x],{position:[0,"position"],threshold:[1,"threshold"]},null),(l()(),t.sb(11,0,null,0,1,"ion-infinite-scroll-content",[["loadingSpinner","bubbles"]],null,null,null,o.gb,o.s)),t.rb(12,49152,null,0,i.F,[t.h,t.k,t.x],{loadingSpinner:[0,"loadingSpinner"]},null)],(function(l,n){var u=n.component;l(n,2,0,"top","65%"),l(n,4,0,"bubbles"),l(n,6,0,u.loading),l(n,8,0,u.chat.messages),l(n,10,0,"bottom","35%"),l(n,12,0,"bubbles")}),null)}function Cu(l){return t.Nb(0,[t.Jb(671088640,1,{content:0}),t.Jb(671088640,2,{chatInputComp:0}),t.Jb(671088640,3,{messageComp:0}),(l()(),t.sb(3,0,null,null,6,"ion-header",[],null,null,null,o.eb,o.p)),t.rb(4,49152,null,0,i.B,[t.h,t.k,t.x],null,null),(l()(),t.sb(5,0,null,0,2,"comp-header",[["chatPage","true"]],null,null,null,Un.c,Un.b)),t.rb(6,4308992,null,0,Gn.a,[i.Gb,a.g,Vn.a,m.a,x.a,y.a,i.Fb,H.j,$n.a,Kn.a,i.Eb,E.a,v.a,ll.m],{textToUse:[0,"textToUse"],chatPage:[1,"chatPage"],allowDescription:[2,"allowDescription"],showBackBtn:[3,"showBackBtn"],chat:[4,"chat"]},null),(l()(),t.sb(7,0,null,null,0,"div",[["class","overlay"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.showDetails()&&t),t}),null,null)),(l()(),t.sb(8,0,null,0,1,"chat-segments",[],null,null,null,eu,Qn)),t.rb(9,1163264,null,0,Zn,[m.a,y.a],{chat:[0,"chat"]},null),(l()(),t.sb(10,0,null,null,5,"ion-content",[["class","ion-padding"]],null,null,null,o.Y,o.j)),t.rb(11,49152,[[1,4]],0,i.u,[t.h,t.k,t.x],null,null),(l()(),t.hb(16777216,null,0,1,null,mu)),t.rb(13,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,ku)),t.rb(15,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.sb(16,0,null,null,3,"ion-footer",[],null,null,null,o.cb,o.n)),t.rb(17,49152,null,0,i.z,[t.h,t.k,t.x],null,null),(l()(),t.sb(18,0,null,0,1,"chat-input",[],[[8,"hidden",0]],[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.scrollDown()&&t),t}),su.b,su.a)),t.rb(19,11649024,[[2,4],["chatInput",4]],0,ou.a,[p.a,N.a,iu.a,k.a,au.a,y.a,v.a,x.a,ru.a,Kn.a,cu.a,i.Jb,bu.a,bu.a,t.C,i.Fb,t.k,m.a,w.a,t.h],{chat:[0,"chat"],content:[1,"content"]},null)],(function(l,n){var u=n.component;l(n,6,0,t.wb(1,"",u.chat.title,""),"true",u.allowDescription,!0,u.chat),l(n,9,0,u.chat),l(n,13,0,u.chat.isMessageOptionOverlay()),l(n,15,0,u.isViewLoaded()),l(n,19,0,u.chat,u.content)}),(function(l,n){l(n,18,0,n.component.chat.isLeitner())}))}var Mu=t.ob("page-chat",hu.a,(function(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"page-chat",[],null,null,null,Cu,fu)),t.rb(1,16433152,null,0,hu.a,[i.Gb,E.a,iu.a,m.a,gu.a,k.a,Kn.a,bu.a,du.a,ll.a,ll.m],null,null)],null,null)}),{},{},[]),Ou=function l(){_classCallCheck(this,l),this.text="Hello World"},yu=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%]{background:#099}[_nghost-%COMP%] div[_ngcontent-%COMP%]{padding-left:45px;margin-top:5px}"]],data:{}});function wu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,2,"ion-col",[],null,null,null,o.X,o.i)),t.rb(2,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.Lb(3,0,[" "," "])),(l()(),t.sb(4,0,null,null,3,"ion-col",[],null,null,null,o.X,o.i)),t.rb(5,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.sb(6,0,null,0,1,"b",[],null,null,null,null,null)),(l()(),t.Lb(7,null,[" "," "]))],null,(function(l,n){var u=n.component;l(n,3,0,u.conjunction.person),l(n,7,0,u.conjunction.verb)}))}var Lu=u("FbN9"),xu=u("BzsH"),Pu=u("/HVE"),_u=u("xijw"),Iu=function(){function l(n,u,t,e,s,o,i,a,r){var c=this;_classCallCheck(this,l),this.view=n,this.socketManager=u,this.consoleDialog=t,this.chatsManager=e,this.adsManager=s,this.userManager=o,this.route=i,this.router=a,this.location=r,this.verb=new B.a({}),this.text="Hello World",this.conjunctions=[],this.route.queryParams.subscribe((function(){c.router.getCurrentNavigation().extras.state&&(c.verb=c.router.getCurrentNavigation().extras.state.verb,c.verb&&(console.log("now we can use verb",c.verb),c.conjugate(),console.log("verb after conjugate() in ConjugationModalComponent NgOnInit",c.verb)))})),this.adsManager.showBannerAd()}return _createClass(l,[{key:"closeModal",value:function(){this.location.back()}},{key:"handleMessage",value:function(l){var n=JSON.parse(l),u=JSON.parse(n.msg),t=this;console.log("found conjunctions",u),Object.keys(u).forEach((function(l){var n=new _u.a(u[l]);t.verb.conjunctions.push(n)}))}},{key:"ionViewDidLoad",value:function(){}},{key:"ngOnDestroy",value:function(){this.adsManager.removeBannerAd()}},{key:"getStatus",value:function(){return this.status}},{key:"setStatus",value:function(l){this.status=l}},{key:"conjugate",value:function(){console.log("verb in ConjugationModalComponent conjugate() :",this.verb),console.log("verb.conjugate in ConjugationModalComponent conjugate(): ",this.verb.conjunctions),0==this.verb.conjunctions.length&&(this.socketManager.queryPro(F.a.GetConjunction,{word:this.verb.word},this,this.userManager.user.getMainAccessToken()),this.setStatus("\u062f\u0631 \u062d\u0627\u0644 \u062f\u0631\u06cc\u0627\u0641\u062a \u062d\u0627\u0644\u062a \u0647\u0627\u06cc \u0641\u0639\u0644"))}}]),l}(),Nu=t.qb({encapsulation:0,styles:[[".background[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#6967f1 0,#21b3f9 150%)}.section[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:5px;margin-left:5px;font-size:1.6rem;font-weight:700}"]],data:{}});function ju(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"conjugation",[],null,null,null,wu,yu)),t.rb(2,49152,null,0,Ou,[],{conjunction:[0,"conjunction"]},null)],(function(l,n){l(n,2,0,n.parent.context.$implicit)}),null)}function Su(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,ju)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.context.$implicit.isPresent();l(n,2,0,u)}),null)}function Tu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"conjugation",[],null,null,null,wu,yu)),t.rb(2,49152,null,0,Ou,[],{conjunction:[0,"conjunction"]},null)],(function(l,n){l(n,2,0,n.parent.context.$implicit)}),null)}function Fu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Tu)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.context.$implicit.isPerfect();l(n,2,0,u)}),null)}function Du(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"conjugation",[],null,null,null,wu,yu)),t.rb(2,49152,null,0,Ou,[],{conjunction:[0,"conjunction"]},null)],(function(l,n){l(n,2,0,n.parent.context.$implicit)}),null)}function Bu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Du)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.context.$implicit.isPast();l(n,2,0,u)}),null)}function Eu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"conjugation",[],null,null,null,wu,yu)),t.rb(2,49152,null,0,Ou,[],{conjunction:[0,"conjunction"]},null)],(function(l,n){l(n,2,0,n.parent.context.$implicit)}),null)}function Au(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Eu)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.context.$implicit.isFuture();l(n,2,0,u)}),null)}function Wu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"conjugation",[],null,null,null,wu,yu)),t.rb(2,49152,null,0,Ou,[],{conjunction:[0,"conjunction"]},null)],(function(l,n){l(n,2,0,n.parent.context.$implicit)}),null)}function Ru(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Wu)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.context.$implicit.isImprative();l(n,2,0,u)}),null)}function qu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"conjugation",[],null,null,null,wu,yu)),t.rb(2,49152,null,0,Ou,[],{conjunction:[0,"conjunction"]},null)],(function(l,n){l(n,2,0,n.parent.context.$implicit)}),null)}function zu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,qu)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.context.$implicit.isPlusPerfect();l(n,2,0,u)}),null)}function Hu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"conjugation",[],null,null,null,wu,yu)),t.rb(2,49152,null,0,Ou,[],{conjunction:[0,"conjunction"]},null)],(function(l,n){l(n,2,0,n.parent.context.$implicit)}),null)}function Ju(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Hu)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.context.$implicit.isConditional();l(n,2,0,u)}),null)}function Uu(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,8,"mat-toolbar",[["class","background mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,Lu.b,Lu.a)),t.rb(2,4243456,null,1,xu.a,[t.k,Pu.a,a.d],null,null),t.Jb(603979776,1,{_toolbarRows:1}),(l()(),t.sb(4,0,null,0,2,"button",[["style","background-color:transparent; border: none"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.closeModal()&&t),t}),null,null)),(l()(),t.sb(5,0,null,null,1,"ion-icon",[["name","arrow-back"],["style"," color: white; font-size: 20px;"]],null,null,null,o.fb,o.q)),t.rb(6,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.sb(7,0,null,0,2,"span",[["style","margin-left: 30px; color: white; "]],null,null,null,null,null)),(l()(),t.Lb(8,null,[" "," "," "])),t.Fb(131072,H.i,[H.j,t.h]),(l()(),t.sb(10,0,null,null,35,"div",[["style"," padding-top: 20px; overflow: auto; padding-left: 10x; "]],null,null,null,null,null)),(l()(),t.sb(11,0,null,null,2,"div",[["class","section"]],null,null,null,null,null)),(l()(),t.sb(12,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Present"])),(l()(),t.hb(16777216,null,null,1,null,Su)),t.rb(15,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),(l()(),t.sb(16,0,null,null,2,"div",[["class","section"]],null,null,null,null,null)),(l()(),t.sb(17,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Perfect"])),(l()(),t.hb(16777216,null,null,1,null,Fu)),t.rb(20,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),(l()(),t.sb(21,0,null,null,2,"div",[["class","section"]],null,null,null,null,null)),(l()(),t.sb(22,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Pr\xe4teritum"])),(l()(),t.hb(16777216,null,null,1,null,Bu)),t.rb(25,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),(l()(),t.sb(26,0,null,null,2,"div",[["class","section"]],null,null,null,null,null)),(l()(),t.sb(27,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Zukunft"])),(l()(),t.hb(16777216,null,null,1,null,Au)),t.rb(30,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),(l()(),t.sb(31,0,null,null,2,"div",[["class","section"]],null,null,null,null,null)),(l()(),t.sb(32,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Imperative"])),(l()(),t.hb(16777216,null,null,1,null,Ru)),t.rb(35,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),(l()(),t.sb(36,0,null,null,2,"div",[["class","section"]],null,null,null,null,null)),(l()(),t.sb(37,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Plus Perfect"])),(l()(),t.hb(16777216,null,null,1,null,zu)),t.rb(40,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null),(l()(),t.sb(41,0,null,null,2,"div",[["class","section"]],null,null,null,null,null)),(l()(),t.sb(42,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),t.Lb(-1,null,["Conditional"])),(l()(),t.hb(16777216,null,null,1,null,Ju)),t.rb(45,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){var u=n.component;l(n,6,0,"arrow-back"),l(n,15,0,u.verb.conjunctions),l(n,20,0,u.verb.conjunctions),l(n,25,0,u.verb.conjunctions),l(n,30,0,u.verb.conjunctions),l(n,35,0,u.verb.conjunctions),l(n,40,0,u.verb.conjunctions),l(n,45,0,u.verb.conjunctions)}),(function(l,n){var u=n.component;l(n,1,0,t.Eb(n,2)._toolbarRows.length>0,0===t.Eb(n,2)._toolbarRows.length),l(n,8,0,t.Mb(n,8,0,t.Eb(n,9).transform("EXAMPLES_TITLE.conjugate")),u.verb.word)}))}var Gu=t.ob("conjugation-modal",Iu,(function(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"conjugation-modal",[],null,null,null,Uu,Nu)),t.rb(1,180224,null,0,Iu,[i.Fb,v.a,x.a,m.a,Kn.a,y.a,ll.a,ll.m,a.g],null,null)],null,null)}),{},{},[]),Vu=function(){function l(n){_classCallCheck(this,l),this.sanitizer=n}return _createClass(l,[{key:"transform",value:function(l,n){switch(n){case"html":return this.sanitizer.bypassSecurityTrustHtml(l);case"style":return this.sanitizer.bypassSecurityTrustStyle(l);case"script":return this.sanitizer.bypassSecurityTrustScript(l);case"url":return this.sanitizer.bypassSecurityTrustUrl(l);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(l);default:throw new Error("Invalid safe type specified: "+n)}}}]),l}(),$u=u("cUpR"),Ku=u("pfga"),Yu=function(){function l(n,u){_classCallCheck(this,l),this.tts=n,this.sanitizer=u,this.text="Hello World"}return _createClass(l,[{key:"ngOnInit",value:function(){this.pronounciationText=this.example.sentence,this.example.sentence.indexOf(this.verb.word)>=0&&(this.example.sentence=this.example.sentence.replace(this.verb.word,"<span style='color:#fc2390'>"+this.verb.word+"</span>"))}},{key:"ngAfterViewInit",value:function(){}}]),l}(),Zu=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%]{background:#099}[_nghost-%COMP%] div[_ngcontent-%COMP%]{top:0 px;padding-left:10px}[_nghost-%COMP%] .speechIcon[_ngcontent-%COMP%]{position:relative;font-size:2rem}[_nghost-%COMP%] .button-inner[_ngcontent-%COMP%] .button-effect[_ngcontent-%COMP%]{background-color:transparent;display:none}[_nghost-%COMP%] ion-item.item.item-block[_ngcontent-%COMP%]{font-size:1.6rem;background-color:#fff0}[_nghost-%COMP%] ion-item.item.item-block[_ngcontent-%COMP%] .item-inner[_ngcontent-%COMP%]{border-bottom:0 solid #dedede}[_nghost-%COMP%] ion-item.item.item-block[_ngcontent-%COMP%] .item-inner[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}[_nghost-%COMP%] .translation[_ngcontent-%COMP%]{margin-top:5px;text-align:right;margin-right:20px;float:right;width:100%;padding-bottom:5px;border-bottom:1px solid #cbcbf5}[_nghost-%COMP%] .sentence[_ngcontent-%COMP%]{margin-top:8px;padding-right:20px;padding-bottom:5px;font-weight:700}[_nghost-%COMP%] .sentence[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{float:left}[_nghost-%COMP%] .sentence[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{float:left}"]],data:{}});function Qu(l){return t.Nb(0,[t.Fb(0,Vu,[$u.b]),(l()(),t.sb(1,0,null,null,5,"div",[["class","sentence"]],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,1,"span",[],[[8,"innerHTML",1]],null,null,null,null)),t.Hb(3,2),(l()(),t.sb(4,0,null,null,2,"button",[["class","speechIcon"],["ion-button",""],["style","background-color:transparent; border: none"]],null,null,null,null,null)),(l()(),t.sb(5,0,null,null,1,"ion-icon",[["class","icon-volume"],["name","volume-high"]],null,null,null,o.fb,o.q)),t.rb(6,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.sb(7,0,null,null,2,"div",[["class","translation"]],null,null,null,null,null)),(l()(),t.sb(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),t.Lb(9,null,[" "," "]))],(function(l,n){l(n,6,0,"volume-high")}),(function(l,n){var u=n.component,e=t.Mb(n,2,0,l(n,3,0,t.Eb(n,0),u.example.sentence,"html"));l(n,2,0,e),l(n,9,0,u.example.translation)}))}var Xu=function(){function l(n,u,t,e,s,o,i){var a=this;_classCallCheck(this,l),this.view=n,this.activeroute=u,this.socketManager=t,this.adsManager=e,this.route=s,this.router=o,this.location=i,this.verb=new B.a({}),this.route.queryParams.subscribe((function(){a.router.getCurrentNavigation().extras.state&&(a.verb=a.router.getCurrentNavigation().extras.state.verb,a.verb&&(console.log("now we can use verb",a.verb),a.proposition()))})),this.adsManager.showBannerAd()}return _createClass(l,[{key:"closeModal",value:function(){this.location.back()}},{key:"ngOnDestroy",value:function(){this.adsManager.removeBannerAd()}},{key:"canShowExamples",value:function(){return!0}},{key:"proposition",value:function(){var l=this;0===this.verb.propositions.length&&this.socketManager.asyncQuery(F.a.GetProposition,{verb:this.verb.word}).then((function(n){if(n.isAllowed()){var u,t=_createForOfIteratorHelper(n.getParam("proposition"));try{for(t.s();!(u=t.n()).done;){var e=u.value;l.verb.addProposition(e)}}catch(s){t.e(s)}finally{t.f()}console.log(" received proposition response",n)}}))}}]),l}(),lt=t.qb({encapsulation:0,styles:[[".background[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#6967f1 0,#21b3f9 150%)}"]],data:{}});function nt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t.Lb(2,null,[" "," "])),(l()(),t.sb(3,0,null,null,1,"example",[],null,null,null,Qu,Zu)),t.rb(4,4308992,null,0,Yu,[S.a,$u.b],{example:[0,"example"]},null)],(function(l,n){l(n,4,0,n.context.$implicit.example)}),(function(l,n){l(n,2,0,n.context.$implicit.word)}))}function ut(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,4,"div",[["style","padding-left: 20px;"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),t.Lb(2,null,["",""])),(l()(),t.hb(16777216,null,null,1,null,nt)),t.rb(4,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){l(n,4,0,n.component.verb.propositions)}),(function(l,n){l(n,2,0,n.component.word)}))}function tt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,8,"mat-toolbar",[["class","background mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,Lu.b,Lu.a)),t.rb(3,4243456,null,1,xu.a,[t.k,Pu.a,a.d],null,null),t.Jb(603979776,1,{_toolbarRows:1}),(l()(),t.sb(5,0,null,0,2,"button",[["style","background-color:transparent; border: none"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.closeModal()&&t),t}),null,null)),(l()(),t.sb(6,0,null,null,1,"ion-icon",[["name","arrow-back"],["style"," color: white; font-size: 20px; "]],null,null,null,o.fb,o.q)),t.rb(7,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.sb(8,0,null,0,2,"span",[["style","margin-left: 30px; color: white; "]],null,null,null,null,null)),(l()(),t.Lb(9,null,["",""])),t.Fb(131072,H.i,[H.j,t.h]),(l()(),t.sb(11,0,null,null,2,"div",[["style","padding-top:5px; overflow: auto"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,ut)),t.rb(13,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){var u=n.component;l(n,7,0,"arrow-back"),l(n,13,0,u.canShowExamples())}),(function(l,n){l(n,2,0,t.Eb(n,3)._toolbarRows.length>0,0===t.Eb(n,3)._toolbarRows.length),l(n,9,0,t.Mb(n,9,0,t.Eb(n,10).transform("EXAMPLES_TITLE.proposition")))}))}var et=t.ob("proposition-modal",Xu,(function(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"proposition-modal",[],null,null,null,tt,lt)),t.rb(1,180224,null,0,Xu,[i.Fb,ll.a,v.a,Kn.a,ll.a,ll.m,a.g],null,null)],null,null)}),{},{},[]),st=function(){function l(n,u,t,e,s,o,i,a,r){var c=this;_classCallCheck(this,l),this.view=n,this.socketManager=u,this.consoleDialog=t,this.chatsManager=e,this.adsManager=s,this.userManager=o,this.route=i,this.router=a,this.location=r,this.verb=new B.a({}),this.text="Hello World",this.examples=[],this.route.queryParams.subscribe((function(){c.router.getCurrentNavigation().extras.state&&(c.verb=c.router.getCurrentNavigation().extras.state.verb,c.verb&&(console.log("now we can use verb",c.verb),c.example()))})),this.adsManager.showBannerAd()}return _createClass(l,[{key:"closeModal",value:function(){this.location.back()}},{key:"ngOnDestroy",value:function(){this.adsManager.removeBannerAd()}},{key:"handleMessage",value:function(l){var n=JSON.parse(l),u=JSON.parse(n.msg),t=this;console.log("found examples",u),Object.keys(u).forEach((function(l){var n=new Ku.a(u[l]);t.examples.push(n)}))}},{key:"ionViewDidLoad",value:function(){}},{key:"getStatus",value:function(){return this.status}},{key:"setStatus",value:function(l){this.status=l}},{key:"example",value:function(){0==this.examples.length&&(this.socketManager.queryPro(F.a.GetExamples,{word:this.verb.word},this,this.userManager.user.getMainAccessToken()),this.setStatus("\u062f\u0631 \u062d\u0627\u0644 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u062b\u0627\u0644 \u0647\u0627"))}}]),l}(),ot=t.qb({encapsulation:0,styles:[[".background[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#6967f1 0,#21b3f9 150%)}"]],data:{}});function it(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"div",[["style"," padding-left: 10px; padding-bottom: 7px;"]],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,2,"example",[],null,null,null,Qu,Zu)),t.rb(2,4308992,null,0,Yu,[S.a,$u.b],{example:[0,"example"],verb:[1,"verb"]},null),(l()(),t.sb(3,0,null,null,0,"hr",[],null,null,null,null,null))],(function(l,n){l(n,2,0,n.context.$implicit,n.component.verb)}),null)}function at(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,8,"mat-toolbar",[["class","background mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,Lu.b,Lu.a)),t.rb(2,4243456,null,1,xu.a,[t.k,Pu.a,a.d],null,null),t.Jb(603979776,1,{_toolbarRows:1}),(l()(),t.sb(4,0,null,0,2,"button",[["style","background-color:transparent; border: none"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.closeModal()&&t),t}),null,null)),(l()(),t.sb(5,0,null,null,1,"ion-icon",[["name","arrow-back"],["style"," color: white; font-size: 20px; "]],null,null,null,o.fb,o.q)),t.rb(6,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.sb(7,0,null,0,2,"span",[["style","margin-left: 30px; color: white;"]],null,null,null,null,null)),(l()(),t.Lb(8,null,[" "," "])),t.Fb(131072,H.i,[H.j,t.h]),(l()(),t.sb(10,0,null,null,2,"div",[["style"," overflow: auto;"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,it)),t.rb(12,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){var u=n.component;l(n,6,0,"arrow-back"),l(n,12,0,u.examples)}),(function(l,n){l(n,1,0,t.Eb(n,2)._toolbarRows.length>0,0===t.Eb(n,2)._toolbarRows.length),l(n,8,0,t.Mb(n,8,0,t.Eb(n,9).transform("EXAMPLES_TITLE.example")))}))}var rt=t.ob("example-modal",st,(function(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"example-modal",[],null,null,null,at,ot)),t.rb(1,180224,null,0,st,[i.Fb,v.a,x.a,m.a,Kn.a,y.a,ll.a,ll.m,a.g],null,null)],null,null)}),{},{},[]),ct=function(){function l(n,u,t,e,s){_classCallCheck(this,l),this.actionSheetCtrl=n,this.friendsManager=u,this.chatsManager=t,this.itemsManager=e,this.modalCtrl=s}return _createClass(l,[{key:"hasImage",value:function(){return null!=this.member.imageUrl}}]),l}(),bt=t.qb({encapsulation:0,styles:[["[_nghost-%COMP%] ion-item.item[_ngcontent-%COMP%]{background:0 0}[_nghost-%COMP%] ion-item.item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:15px 0}[_nghost-%COMP%] ion-item.item[_ngcontent-%COMP%] p.avatarName[_ngcontent-%COMP%]{border-radius:100%;font-size:35px;font-weight:700;text-align:center;line-height:50px;height:50px;width:50px;background:#d0d3d4;color:#4d4a4a!important}[_nghost-%COMP%] ion-item.item[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] ion-item.item[_ngcontent-%COMP%] ion-avatar[_ngcontent-%COMP%]{width:50px;height:50px}[_nghost-%COMP%] ion-item.item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex-grow:7}[_nghost-%COMP%] ion-item.item[_ngcontent-%COMP%] ion-badge.badge[_ngcontent-%COMP%]{background-color:#3bec72;font-size:small}"]],data:{}});function ht(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(l,n){l(n,0,0,t.wb(1,"",n.component.member.imageSrc,""))}))}function gt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"p",[["class","avatarName"]],null,null,null,null,null)),(l()(),t.Lb(1,null,[" ",""]))],null,(function(l,n){l(n,1,0,n.component.member.getFirstChars())}))}function dt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,17,"ion-item",[],null,null,null,o.jb,o.u)),t.rb(1,49152,null,0,i.H,[t.h,t.k,t.x],null,null),(l()(),t.sb(2,0,null,0,15,"ion-row",[],null,null,null,o.qb,o.B)),t.rb(3,49152,null,0,i.gb,[t.h,t.k,t.x],null,null),(l()(),t.sb(4,0,null,0,7,"ion-col",[],null,null,null,o.X,o.i)),t.rb(5,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.sb(6,0,null,0,5,"ion-avatar",[["item-start",""]],null,null,null,o.Q,o.b)),t.rb(7,49152,null,0,i.g,[t.h,t.k,t.x],null,null),(l()(),t.hb(16777216,null,0,1,null,ht)),t.rb(9,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,0,1,null,gt)),t.rb(11,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.sb(12,0,null,0,5,"ion-col",[["class","title"]],null,null,null,o.X,o.i)),t.rb(13,49152,null,0,i.t,[t.h,t.k,t.x],null,null),(l()(),t.sb(14,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),t.Lb(15,null,[" ",""])),(l()(),t.sb(16,0,null,0,1,"h6",[],null,null,null,null,null)),(l()(),t.Lb(17,null,[" "," "]))],(function(l,n){var u=n.component;l(n,9,0,u.hasImage()),l(n,11,0,!u.hasImage())}),(function(l,n){var u=n.component;l(n,15,0,u.member.name),l(n,17,0,u.member.email)}))}var ft=u("dIIk"),mt=function(){function l(n,u,t,e,s,o,i,a,r,c){var b=this;_classCallCheck(this,l),this.modalCtrl=n,this.navCtrl=u,this.friendsManager=t,this.chatsManager=e,this.alertCtrl=s,this.membersManager=o,this.router=i,this.route=a,this.itemsManager=r,this.events=c,this.publicChat=!1,this.inputChanged=!1,this.modalOpen=!1,this.route.queryParams.subscribe((function(){b.router.getCurrentNavigation().extras.state&&(b.chat=b.router.getCurrentNavigation().extras.state.chat,console.log("this.chat in constructor:",b.chat),null!=b.chat&&(b.chat.item.title=b.chat.title,b.membersManager.getMembers(b.chat)))}))}return _createClass(l,[{key:"ionViewDidLoad",value:function(){console.log("ionViewDidLoad MembersPage")}},{key:"changeInput",value:function(){this.inputChanged=!0}},{key:"handleMessage",value:function(l){JSON.parse(l),this.inputChanged=!1,this.chat.item.title=this.chat.title,this.events.publish(F.c.updatedTitle,{title:this.chat.title}),this.chatsManager.save(this.chat),console.log("chat in handleMessage:",this.chat),this.itemsManager.save()}},{key:"addMember",value:function(){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(l.t0=this.modalOpen,l.t0){l.next=6;break}return this.modalOpen=!0,l.next=5,this.modalCtrl.create({component:ft.a,swipeToClose:!0,componentProps:{chat:this.chat,messageComp:this}});case 5:l.sent.present();case 6:this.modalOpen=!1;case 7:case"end":return l.stop()}}),l,this)})))}},{key:"save",value:function(){this.chatsManager.updateChatTitle(this.chat,this)}},{key:"askRemove",value:function(l){return r.a(this,void 0,void 0,regeneratorRuntime.mark((function n(){var u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return u=this,n.next=3,this.alertCtrl.create({subHeader:"confirm",message:"Remove "+l.email+" from group "+u.chat.title,buttons:[{text:"cancel",role:"cancel",handler:function(){console.log("Cancel clicked")}},{text:"yes",handler:function(){u.chatsManager.removeMember(u.chat,l)}}]});case 3:n.sent.present();case 4:case"end":return n.stop()}}),n,this)})))}},{key:"isOwner",value:function(){return this.chat.isOwner(this.chatsManager.userManager.user)}},{key:"isMember",value:function(){return this.chat.isMember(this.chatsManager.userManager.user)}},{key:"hasLeaveBtn",value:function(){return!this.isOwner()&&this.isMember()}},{key:"groupLeave",value:function(){this.chatsManager.leaveGroup(this.chat.item)}},{key:"enablePublic",value:function(){}}]),l}(),pt=t.qb({encapsulation:0,styles:[["input[type=text][_ngcontent-%COMP%]{background:0 0;border:none}.color[_ngcontent-%COMP%]{color:#fff}span[_ngcontent-%COMP%]{margin-right:5px}.inputDiv[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px;border-bottom:2px solid #3ff074}.saveBtn[_ngcontent-%COMP%]{border-radius:5px;position:relative;display:flex;height:38px;justify-content:center;align-items:center;background-image:linear-gradient(to left,#6967f1 0,#21b3f9 150%);margin:5px 20px 8px}.saveBtn[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff}.inputBox[_ngcontent-%COMP%]{width:100%;padding:20px 20px 10px;border-width:0;font-size:17px;border:none}.position[_ngcontent-%COMP%]{margin-top:20px}.Addmember[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px;display:flex;font-size:17px;height:38px;justify-content:center;align-items:center;margin-top:5px;border-radius:20px;background-image:linear-gradient(to left,#6967f1 0,#21b3f9 150%)}.Addmember[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff}"]],data:{}});function vt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,5,"input",[["class","inputBox"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,u){var e=!0,s=l.component;return"input"===n&&(e=!1!==t.Eb(l,1)._handleInput(u.target.value)&&e),"blur"===n&&(e=!1!==t.Eb(l,1).onTouched()&&e),"compositionstart"===n&&(e=!1!==t.Eb(l,1)._compositionStart()&&e),"compositionend"===n&&(e=!1!==t.Eb(l,1)._compositionEnd(u.target.value)&&e),"ngModelChange"===n&&(e=!1!==(s.chat.title=u)&&e),"input"===n&&(e=!1!==s.changeInput()&&e),e}),null,null)),t.rb(1,16384,null,0,Yn.b,[t.D,t.k,[2,Yn.a]],null,null),t.Ib(1024,null,Yn.e,(function(l){return[l]}),[Yn.b]),t.rb(3,671744,null,0,Yn.h,[[8,null],[8,null],[8,null],[6,Yn.e]],{model:[0,"model"]},{update:"ngModelChange"}),t.Ib(2048,null,Yn.f,null,[Yn.h]),t.rb(5,16384,null,0,Yn.g,[[4,Yn.f]],null,null)],(function(l,n){l(n,3,0,n.component.chat.title)}),(function(l,n){l(n,0,0,t.Eb(n,5).ngClassUntouched,t.Eb(n,5).ngClassTouched,t.Eb(n,5).ngClassPristine,t.Eb(n,5).ngClassDirty,t.Eb(n,5).ngClassValid,t.Eb(n,5).ngClassInvalid,t.Eb(n,5).ngClassPending)}))}function kt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"div",[["class","saveBtn"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.save()&&t),t}),null,null)),(l()(),t.sb(1,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),t.Lb(2,null,["",""])),t.Fb(131072,H.i,[H.j,t.h])],null,(function(l,n){l(n,2,0,t.Mb(n,2,0,t.Eb(n,3).transform("BUTTONS.save")))}))}function Ct(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,2,"button",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.groupLeave()&&t),t}),null,null)),(l()(),t.Lb(2,null,["","> "])),t.Fb(131072,H.i,[H.j,t.h])],null,(function(l,n){l(n,2,0,t.Mb(n,2,0,t.Eb(n,3).transform("BUTTONS.leaveChat")))}))}function Mt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,6,"div",[["class","Addmember"]],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.addMember()&&t),t}),null,null)),(l()(),t.sb(1,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),t.sb(2,0,null,null,1,"ion-icon",[["class","color"],["name","person-add"]],null,null,null,o.fb,o.q)),t.rb(3,49152,null,0,i.C,[t.h,t.k,t.x],{name:[0,"name"]},null),(l()(),t.sb(4,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),t.Lb(5,null,["",""])),t.Fb(131072,H.i,[H.j,t.h])],(function(l,n){l(n,3,0,"person-add")}),(function(l,n){l(n,5,0,t.Mb(n,5,0,t.Eb(n,6).transform("BUTTONS.addMember")))}))}function Ot(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,2,"div",[["id","members"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,Mt)),t.rb(2,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.chat.isDictionary())}),null)}function yt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"member",[],null,[[null,"click"]],(function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.askRemove(l.context.$implicit)&&t),t}),dt,bt)),t.rb(1,49152,null,0,ct,[i.a,$n.a,m.a,Vn.a,i.Fb],{member:[0,"member"]},null)],(function(l,n){l(n,1,0,n.context.$implicit)}),null)}function wt(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),t.sb(1,0,null,null,2,"comp-header",[["chatPage","false"],["showBackBtn","true"]],null,null,null,Un.c,Un.b)),t.rb(2,4308992,null,0,Gn.a,[i.Gb,a.g,Vn.a,m.a,x.a,y.a,i.Fb,H.j,$n.a,Kn.a,i.Eb,E.a,v.a,ll.m],{textToUse:[0,"textToUse"],chatPage:[1,"chatPage"],showBackBtn:[2,"showBackBtn"]},null),t.Fb(131072,H.i,[H.j,t.h]),(l()(),t.sb(4,0,null,null,14,"ion-content",[],null,null,null,o.Y,o.j)),t.rb(5,49152,null,0,i.u,[t.h,t.k,t.x],null,null),(l()(),t.sb(6,0,null,0,9,"div",[["class","position"]],null,null,null,null,null)),(l()(),t.sb(7,0,null,null,2,"div",[["class","inputDiv"]],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,vt)),t.rb(9,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,kt)),t.rb(11,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Ct)),t.rb(13,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.hb(16777216,null,null,1,null,Ot)),t.rb(15,16384,null,0,a.k,[t.O,t.L],{ngIf:[0,"ngIf"]},null),(l()(),t.sb(16,0,null,0,2,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,yt)),t.rb(18,278528,null,0,a.j,[t.O,t.L,t.q],{ngForOf:[0,"ngForOf"]},null)],(function(l,n){var u=n.component;l(n,2,0,t.wb(1,"",t.Mb(n,2,0,t.Eb(n,3).transform("TITLE.information")),""),"false","true"),l(n,9,0,u.isOwner()),l(n,11,0,u.inputChanged),l(n,13,0,u.hasLeaveBtn()),l(n,15,0,u.isOwner()),l(n,18,0,u.chat.members)}),null)}var Lt=t.ob("page-members",mt,(function(l){return t.Nb(0,[(l()(),t.sb(0,0,null,null,1,"page-members",[],null,null,null,wt,pt)),t.rb(1,49152,null,0,mt,[i.Fb,i.Gb,$n.a,m.a,i.b,cu.a,ll.m,ll.a,Vn.a,E.a],null,null)],null,null)}),{},{},[]),xt=u("t68o"),Pt=u("m/40"),_t=u("B/Pu"),It=u("ja1e"),Nt=u("QQfA"),jt=u("s6ns"),St=u("W2O4"),Tt=function l(){_classCallCheck(this,l)},Ft=u("Xd0L"),Dt=u("zMNK"),Bt=u("hOhj"),Et=u("Gi4r"),At=u("L8C7"),Wt=u("FpXt");u.d(n,"ChatModuleNgFactory",(function(){return Rt}));var Rt=t.pb(e,[],(function(l){return t.Bb([t.Cb(512,t.j,t.ab,[[8,[s.a,Mu,Gu,et,rt,Lt,xt.a,Pt.a,_t.a,Un.a,It.a]],[3,t.j],t.v]),t.Cb(4608,Yn.k,Yn.k,[]),t.Cb(4608,a.m,a.l,[t.s,[2,a.z]]),t.Cb(4608,i.c,i.c,[t.x,t.g]),t.Cb(4608,i.Fb,i.Fb,[i.c,t.j,t.p]),t.Cb(4608,i.Kb,i.Kb,[i.c,t.j,t.p]),t.Cb(4608,Nt.a,Nt.a,[Nt.g,Nt.c,t.j,Nt.f,Nt.d,t.p,t.x,a.d,V.c,[2,a.g]]),t.Cb(5120,Nt.h,Nt.i,[Nt.a]),t.Cb(5120,jt.b,jt.c,[Nt.a]),t.Cb(135680,jt.d,jt.d,[Nt.a,t.p,[2,a.g],[2,jt.a],jt.b,[3,jt.d],Nt.c]),t.Cb(4608,St.c,St.c,[]),t.Cb(4608,St.i,St.b,[]),t.Cb(5120,St.k,St.l,[]),t.Cb(4608,St.j,St.j,[St.c,St.i,St.k]),t.Cb(4608,St.h,St.a,[]),t.Cb(5120,St.e,St.m,[St.j,St.h]),t.Cb(1073742336,Yn.j,Yn.j,[]),t.Cb(1073742336,Yn.c,Yn.c,[]),t.Cb(1073742336,a.c,a.c,[]),t.Cb(1073742336,i.Bb,i.Bb,[]),t.Cb(1073742336,ll.n,ll.n,[[2,ll.s],[2,ll.m]]),t.Cb(1073742336,Tt,Tt,[]),t.Cb(1073742336,V.a,V.a,[]),t.Cb(1073742336,Ft.b,Ft.b,[[2,Ft.a],[2,$u.f]]),t.Cb(1073742336,xu.b,xu.b,[]),t.Cb(1073742336,Dt.f,Dt.f,[]),t.Cb(1073742336,Pu.b,Pu.b,[]),t.Cb(1073742336,Bt.b,Bt.b,[]),t.Cb(1073742336,Nt.e,Nt.e,[]),t.Cb(1073742336,jt.g,jt.g,[]),t.Cb(1073742336,Et.a,Et.a,[]),t.Cb(1073742336,At.a,At.a,[]),t.Cb(1073742336,St.f,St.f,[]),t.Cb(1073742336,H.g,H.g,[]),t.Cb(1073742336,Wt.a,Wt.a,[]),t.Cb(1073742336,e,e,[]),t.Cb(1024,ll.k,(function(){return[[{path:"",component:hu.a},{path:"conjugation",component:Iu},{path:"proposition",component:Xu},{path:"example",component:st},{path:"membersPage",component:mt}]]}),[])])}))}}]);