trang mạng:Dùng thành từ Siêu chuẩnNội dung
ParaphrasingTool-FreeAIParaphraser body{ background:#fffurl(/assets/frontend/imes/banner_bg.png)no-repeatrighttop } varis_mobile=window.innerWidth window.addEventListener("load",function(){ setTimeout(function(){ (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': newDate().getTime(),event:'gtm.js'});varf=d.getElementsByTName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-M59S8Q7M'); },5000); }); window.addEventListener("load",function(){ setTimeout(function(){ (function(w,d){ vars=d.createElement('script'); s.src='//cdn.adpushup.com//adpushup.js'; s.crossOrigin='anonymous'; s.type='text/jascript';s.async=true; (d.getElementsByTName('head')[0]||d.getElementsByTName('body')[0]).appendChild(s); w.adpushup=w.adpushup||{que:[]}; })(window,document); },5000); }); .login-modela{ color:blue; display:inline-block; text-decoration:none; font-weight:Dùng thành từ Siêu chuẩn400 } .login-modelh2{ text-align:center; font-size:18px; font-weight:600; text-transform:uppercase; display:inline-block; color:#ccc; margin:0px10px; } .login-model{ display:flex; align-items:center; flex-direction:column; justify-content:center; width:100%; min-height:100%; padding:20px } .login-model#formContent{ border-radius:25px; background:#fff; padding:30px50px; width:100%; max-width:530px; position:relative; -webkit-box-shadow:030px60px0rgba(0,0,0,.3); box-shadow:030px60px0rgba(0,0,0,.3); text-align:center; margin-left:auto; margin-right:auto; margin-top:6%!important } .login-model#formFooter{ background-color:#fff; padding:20px; text-align:center; } .login-model#formFootera{ color:#000; text-decoration:underline; } .login-modelh2.inactive{ color:#ccc } .login-modelh2.active{ color:#222; border-bottom:2pxsolid#065F51 } .login-modelinput[type=button], .login-modelinput[type=submit], .login-modelinput[type=reset], .login-model.verifybtn{ background-color:#33B5A1; border:none; color:#fff; padding:17px80px; text-decoration:none; display:block; text-transform:uppercase; font-size:15px; border-radius:5px5px5px5px; width:100%; margin-top:40px; } .login-modelinput[type=button]:hover, .login-modelinput[type=submit]:hover, .login-modelinput[type=reset]:hover{ background-color:#065F51; cursor:pointer } .login-modelinput[type=text], .login-modelinput[type=password], .login-modelinput[type=email]{ padding:17px40px17px20px; text-decoration:none; display:block; font-size:16px; margin-bottom:20px; width:100%; background-color:#fff; border:1pxsolid#CFCFCF; border-radius:5px; } .login-modelinput[type=text]::placeholder, .login-modelinput[type=email]::placeholder, .login-modelinput[type=password]::placeholder{ color:#ccc } .login-modelform{ margin-top:50px } .login-model{ position:fixed; z-index:999; top:0; display:none } #close_login_popup:hover, .login-modelh2:hover{ cursor:pointer } .login_form_tab, .signup_form_tab{ color:#0c2e60 } .google_signin{ display:inline-flex!important; align-items:center; justify-content:center; padding:18px24px!important; margin-bottom:20px; border:1pxsolid#C0C0C0!important; background:#fff!important; color:#000!important; border-radius:8px; } .google_signin:focus{ box-shadow:02px6px#a!important; } .google_signinimg, .fb_signinimg{ width:26px; height:auto; margin-right:10px; } #close_login_popup{ position:absolute; right:10px; top:10px; color:#065F51; } .or_div{ color:#000; font-size:15px; text-align:center; margin:25px0px; } .or_div:after,.or_div:before{ content:''; position:relative; background:#000; width:20px; height:1.5px; display:inline-block; margin-left:10px; top:-4px; } .or_div:before{ margin-right:10px; } .posRel{ position:relative; } .posRelimg{ position:absolute; top:17px; right:20px; } SignIn SignUp orsigninwith ContinuewithGoogle Loading... VerifyNow ResendCode Bycreatingaccount,youreewithourtermsandprivacypolicy. orsigninwith ContinuewithGoogle Loading... ForgetPassword ForgotPassword? .selectdivHeader{position:relative;border:1pxsolid#0c2e60;width:105px;cursor:pointer;height:30px;border-radius:4px;margin:3pxauto;}.selectdivHeaderul{list-style:none;background:#fff;z-index:9999;text-align:left;margin:0px;padding:0px;position:absolute;box-shadow:rgba(60,64,67,0.3)0px1px2px0px,rgba(60,64,67,0.15)0px2px6px2px;right:0px;width:105px;max-height:20em;overflow-y:scroll;top:30px;}.selectdivHeaderem{text-align:left;position:absolute;left:7px;font-size:13px;top:-2px;font-style:normal;}.selectdivHeaderulli{padding-left:12px!important;box-shadow:rgb(000/5%)0px1px2px0px;cursor:pointer;font-size:13px;border-bottom:2pxsolid#fff;color:#0c2e60;font-weight:500;line-height:25px;}.selectdivHeader:after{content:">";cursor:pointer;font:17px"Consolas",monospace;color:#333;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);right:4px;top:2px;padding:002px;border-bottom:1pxsolid#999;position:absolute;pointer-events:none;}PARAPHRASERXArticleRewriterPliarismCheckerGrammarCheckerTextSummarizerAIEssayWriterAPIsPlansLoginRegisterCloseLimitExceed!ContinueasfreeuserGoProIfyouneedanyhelpContactus.w4-modal{z-index:11;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000;background-color:rgba(0,0,0,0.4);}.paraphraser_main_box#paraphrase_form#input-content{height:371px;}@keyframesshadow-pulse{0%{box-shadow:0000pxrgba(30,112,185);}100%{box-shadow:00015pxrgba(0,0,0,0);}}.pulse{animation:shadow-pulse1sinfinite;}#beech-content{background:#fbf8f8;height:377px;}#beech-contentul{list-style:none;padding:0px;margin:0px;font-weight:600;}#beech-contentulli{font-size:14px;padding:13px10px;border-bottom:1pxsolid#0c2e603b;}#beech-contentulli:last-child{border-bottom:0px;}#beech-contentulspan{float:right;}.list-synli{font-size:14px;}a.pricing-btns{height:28px;border:1pxsolid#FFB743;display:flex;align-items:center;color:#222;justify-content:space-between;font-weight:600;margin-left:10px;padding:5px;background-color:#fff;box-shadow:0px0px0px0px#FFB743;}a.pricing-btnsimg{margin-right:4px;}@media(min-width:1251px)and(max-width:1411px){a.pricing-btns{font-size:12px;margin-left:4px;}.paraphrasing_levels{font-size:12px!important;margin-left:4px;}}Advertisement(adsbygoogle=window.adsbygoogle||[]).push({});Selectmode:FluencyModesWordChangerFluencyStandardPremiumCreativeSmarterShortenWordChangerFluencyStandardCreativeSmarterShorten0%completeWords:0/400BreakWordLimitin$9.00only!EnglishEspanolNorwegianDutchFrenchGermanPortugueseTurkishIndonesianRussianJapaneseChineseVietnamItalianSwedishRomanianMalayPolishDanishTalogAfrikaansUkrainianEnglishParaphrasedTextwordcountSummarizeCheckPlCheckGrammarLoading...Advertisement(function(){try{varbundleUrl='cdn.adpushup.com//apInstreamBundle.js';varqueryParamsString=window.location.search;varsectionId="08ffd646-dcda-4e8d-a75a-c43c9e48fd83";varadContainer=document.getElementById(sectionId);varscr=document.createElement("script");scr.type="text/jascript";scr.langue="jascript";adContainer.style.visibility="hidden";scr.src=bundleUrl;adContainer.appendChild(scr);}catch(error){console.log(error.messe);}})();ParaphrasingToolParaphraseristhebestAIparaphrasingtoolthathelpsyouaccuratelyparaphrasesentences,parraphs,andessaysusingstate-of-the-arttechnology.FeaturesofParaphraserParaphraserhasmanyfeaturesthatmakeitsparaphrasingtoolthebestonthemarket,includingrephrasingessays,writingeffectivecontent,andcreatingoriginalcopieswithAI.ParaphraseLikeHumanParaphraserhastheartofhuman-levelparaphrasing.Thefinalrephrasedoutputwillbecreative,morereadable,sensible,andpliarismfree.Cutting-edgeAIParaphraseToolOurfreeparaphrasetoolisthemostadvancedAIrephraserbasedonNLP.Ourparaphrasegeneratorcanrephrasesentencesandcompletearticlesinseconds.MaintainOriginalMeaningUnlikeotheronlineparaphrasetools,ourAI-basedsentencerephrasermaintainstheoriginalmeaningofthecontextwhilechangingthesentencestructure.whyusWhyourParaphrasingToolisbest?OurparaphrasingtoolusesadvancedAIalgorithmstoaccuratelyparaphrasetext.AI-basedtextrephrasingwasneverpossiblebeforeParaphraserlaunched.SomebenefitsarementionedbelowthatmakeParaphraserthebest:QualityContentTherephrasetoolgeneratesmorereadable,enging,andgrammaticallyerror-freecontentwithoutruiningthequalityofthecontentafterparaphrasing.Itreplacespropersynonyms,rephraseslikerealhumans,andparaphrasesbetterthanprofessionalwriters.Pliarism-freeoutputOurParaphrasingtoolhelpsyouto oidduplicationofcontent.Paraphraser.ioisusefultoincreaseproductivityasitquicklyandeasilygeneratesmultipleversionsofthesametext.FastAscomparedtoothertools,Paraphraserprovidesthefastestresultsbykeepingthebestquality.Itcanprovidelargetextresultswithinafewseconds.EasytouseSentencerephraserbyParaphraseriseasytouseandhasauser-friendlyinterface.Doyouheanysuggestionstoimproveourinterface?Pleaseletusknow. PriceWeprovideFluency&Standardmodewith600wordslimitfreeofcost.Youcanrephraseunlimitedtextwithoutanydailylimit.Youcanincreasethewordlimitto1500,byupgradingtopro.ParaphrasingAPIsCollegesanduniversitiescanintegrateourrephraserusingourparaphrasingAPIs.CustomersupportWetakecareofourusers.Incaseyouheanyquestionsorneedassistance,Youcancontactusviachatoropenaticketonour supportpe. HowtouseHowtoparaphraseonline?Toparaphraseonlineusingourrewordingtool,followthesesimplesteps:Typethetextintheinputboxorupload afile. Choosearephrasemode.Ourparaphrasegeneratorhassixmodes:FluencyStandardWordChangerCreativeSmarterShortenClickonthesubmitbuttonandletthisparaphrasingtooldotherestofthework.😊ToolUsersParaphrasingtoolusersOurtoolcanbeusedinanumberofways,soitisuptoyoutodecidehowyouwanttouseit. Wearealwayshereforanyalterationsorparaphrasingyoumayneed.OurParaphrasingtooliscommonlyusedbythefollowingpeople: Students:Ifyouareastudentandlookingforanaccurateandbestsolutionforparaphrasing,wearehereforyou. Ouronlineparaphrasegeneratorgivesdifferentideasforassignmentwritingandthesiswriting.Youcanmakeyourassignmentspliarism-freeandmorereadable.Useourrephrasingtool,Getgoodgrades,andThankuslater😉.Teachers: Ifyouareateacher,weknowyourfeelings.Forateacher,aparaphrasingtoolisnotlessthanalife-siour,astheyhetopreparenotes,reports,quizzes,andhelpfulstudymaterialonaregularbasis. Withourtool,teacherscancreatestudynotesthatareeasiertounderstand.Ourprofessionalparaphrasingtoolhelpsteacherssetimebyautomaticallyrephrasingthetext. Teacherscanalsouseourrewordingtooltocreatequizquestionsthataremorechallengingandvaried.Researchers:Byrephrasingtechnicaltermsresearcherscanoidpliarismandsummarizekeypointsintheirresearchpapers.Youcanparaphrasethemainideasofasourcetobetterunderstandtheinformation. Asentencechangercanbehelpfulwhenwritingarevieworsynthesisoftheliterature. Copywriters:Tomakeyourcopywritingmorecreative,ourwordrephraserisaveryhandytool. Generatingyourcontentforadvertising,publicrelations,andmediaisveryeasyusingwordchanger,becausethechoiceofthewordsmatters. Usingourtool,copywriterscan Craftcompellingandpersuasivemessestosellproducts,services,orideas.Workwithcreativeteams,includingartdirectorsanddesigners,toensurethatthewritingisvisuallyappealingandeffective.Createcopyforawiderangeofmedia,includingprint,digital,andsocialmedia.Bloggers: Writemoreengingandkillerqualitycontentusingourfreeparaphrasingtool.Differentwordchoicesandsentencestructuresmakeblogcontentappealingtoblogreaders.EveryBloggershouldusearephrasingtooltooidPliarism:Ourfreetoolcreatesoriginalcontenttooidpliarismbychangingthewordsandsentences. Improvereadability:makeblogcontentreadableforalltypesofusers.Setime:wecanseyourtimeandeffortbyautomatingtheprocessofrephrasing.Forlargeprojectswithtightdeadlines,ourparaphrasertoolissuperhelpful. Marketers:Createbest-performingcontentforyoursocialmediaposts,emails,advertisements,andarticlesubmissionswithouronlineparaphrasetool. Marketerscancutdownthewritingcostusingourfreetool.GetMultipleversionsofthecontentforA/BTesting,forexample,emailsubjectlinesorsocialmediaposts,totestwhichonesaremosteffective.ParaphrasetextinawaythatiseasiertounderstandfDùng thành từ Siêu chuẩnortheiraudience. Webmasters:Displaythebesttlinesanddescriptionsforyourwebsitewithouradvancedparaphrasetool.WritingthebestqualitycontentattractsreadersandisalsogoodforSEOpurposes.Wehadsixdifferentmodes;youcanchoosethemostsuitablemodeforyoure-commerce,landingpeorasaaswebsite.paraphraseeasilyParaphraser.iohelpsyourephrasetexteasilyandquicklyOurparaphrasingtoolonlineletsyouparaphrasetextinonego.Youcanusethisfreetooltoparaphraseyoursentences,parraphs,articles,andevenlongblogswithadvancedAItechnology.Itfurtherprovidesseveralusefulfeaturesthathelpyoucustomizetherephrasedtexttofityourcontentneeds.🥰Improves:Readability,fluency,&vocabulary🚀InstantParaphrase:Sentences,parraphs,&more✔️Modes:3+UniqueAIModes🌐Multilingual:Supports20+Langues.ParaphraserWorkingHowDoesThisParaphrasingToolWork?ItisanAI-basedparaphraserdevelopedwithstate-of-the-arttechnology.Itrewritesarticles,rewordssentences,andparaphrasesthetext.Italsoworksasareworderandrewriterforlessnesschancesofpliarism.ParaphraseAnywhereOurfreeparaphrasingtoolcanbeusedonlineacrossalldevices,includingAndroid&IOS.MultipleLanguesOurparaphrasingwebsiteisailableinFrench,Spanish,Indonesian,German,andTurkish.ENESNONLFRDEBRTRIDRUJAZHVIITSVROMSPLDATLAFUKWHATDOYOUWANTTOKNOWSomeofTheMostFrequentlyAskedQuestionsIsusingaparaphrasingtoolisillegal?No,usingaparaphrasingtoolisnotillegalifusedcorrectly.Inacademicwriting,ifyouuseawordrephrasertocreatecontentthenitmustbecorrectlycited.Usingparaphrasedcontentasoriginalworkcouldbeconsideredacademicmisconduct.Canyougetintroubleforusingaparaphrasingtool?SentencerephraserdevelopedusingadvancedAIalgorithmstoparaphrasecontentlikeahuman.Youcanuseourdifferentmodestocheckwhichrephrasemodelisthebestfitforyou.ProTips:Citethesourcestooidanytrouble.Isusingaparaphrasingtoolcountaspliarism?No,Usingaparaphraseonlinetooldoesnotcountaspliarism.Asmentionedabove,ourtoolprovidespliarism-freecontentwhilekeepingtheoriginalmeaningofthecontext. Ourtextparaphraserhelpsuserstorephrasetextandoidpliarism.Thecontentgeneratedbyourtooliscompletelyunique.CanIuseaparaphrasingtoolforlegalwriting?Yes,paraphrasingtoolscanbeusefulinlegalwriting.Makesuretouseaparaphraserresponsiblyandethically.Twothingstorememberwhenusingthewordchangertoolinlegalwriting:Checkpliarism:Double-checktherephrasedtextforpliarism.CiteSources:Citeanysourcesused,evenifyouusedaparaphrasertooltorephraseatext.OURBLOGStudentsBlogKeyDifferencesBetweenCreativeWritingvsAcademicWritingWritingisoneofthemostchallengingdisciplinestomastercompletely.That’smainlybecauseitcontainstheinvolvementofdifferentwriting...StepsforWritingaResearchPaperConclusionFinishingyourresearchpaperwithastrongconclusionisjustasimportantastheintroductionandbody.Theintroductiondrawsreadersin,andthec...AdvancedWritingTipsforCraftingAcademicPapersInacademicwriting,quality,clarity,concision,anddetailsareessential.Itisanimportantskillforbothstudentsandresearchersworkingonar...SynonymslogoParaphraseonlinelikeprofessionalwriterswithstate-of-the-artAIParaphraserProductsParaphrasingToolArticleRewriterPliarismCheckerGrammarCheckerTextSummarizerCitationGeneratorAIEssayWriterAIHumanizerResourcesParaphrasingApiCitationGeneratorAffiliateProgramBlogAboutUsContactusAddress:438,StreathamHighRoadLondon,UK.SW163PXContactUsPrivacyPolicyTerms&ConditionsRefundPolicyFBLn©byParaphraser.io|Allrightsreserved.DonotsharemyPersonalInformation.Error!Paraphraser.iosaysOKxvarupload_file_selector=document.getElementById("upload_file");varfile_input_selector=document.getElementById("file_input");upload_file_selector.addEventListener("click",(event)=>{event.preventDefault();file_input_selector.click();});file_input_selector.addEventListener("change",(event)=>{event.preventDefault();if(file_input_selector.value!=''){varformData=newFormData();varddata=document.getElementById('file_input').files[0];varajax_url="/uploadfile";formData.append('file',ddata);varajax_data=formData;execute_ajax_file(ajax_url,ajax_data);}});functionexecute_ajax_file(ajax_url,ajax_data){$.ajax({type:"POST",url:ajax_url,data:ajax_data,processData:false,contentType:false,dataType:'json',async:true,beforeSend:function(){$("#LodeGif").show();},success:function(result){console.log(result);$("#LodeGif").hide();if(result.status_code=='200'){$("#input-content").val(result.messe);//forgrammarcheckeronly$("#user_input").val(result.messe);$('#input-content').text(result.messe);//endforgrammarcheckeronlywordCounter();}else{file_input_selector.value='';alert_box('Error',result.messe);returnfalse;}}});}varrandomNumber=Math.floor(Math.random()*100);if(randomNumbervaradBlockEnabled=false;vartestAd=document.createElement('div');testAd.innerHTML=' ';testAd.className='ad-container';document.body.appendChild(testAd);window.setTimeout(function(){if(testAd.offsetHeight===0){adBlockEnabled=true;}testAd.remove();if(adBlockEnabled){adsloaded=false;}else{adsloaded=true;}},100);$(function(){//setTimeout(()=>{// if($('.adsenbox').length>0){$('.adsenbox').removeClass('bg-gray')}//},100);setTimeout(()=>{varcallBackCaptcha="";$.getScript("/recaptcha/api.js"+callBackCaptcha,function(data,textStatus,jqxhr){console.log(jqxhr.status,"recaptchaLoad.");});},5000);setTimeout(()=>{$("head").append('');},is_mobile?5000:5000);});constwrapper=document.querySelector("#alert_box_awdws");constbutton=wrapper.querySelector("#continue");constdetect=document.querySelector("#detection");if($("#continue").length){constbutton=wrapper.querySelector("#continue");}functionsetBlockcookie(cookieName,cookieValue,days){varexpirationDate=newDate();expirationDate.setTime(expirationDate.getTime()+(days*24*60*60*1000));varexpires="expires="+expirationDate.toUTCString();document.cookie=cookieName+"="+cookieValue+";"+expires+";path=/";}functiongetBlockCookie(cookieName){varname=cookieName+"=";vardecodedCookie=decodeURIComponent(document.cookie);varcookieArray=decodedCookie.split(';');for(vari=0;i{getProperty=="none"?wrapper.classList.add("show"):wrapper.classList.remove("show");},5000);setBlockcookie("checkBlockAdo","adoPopup",1);}if(getProperty=="none"){window.scrollTo(0,0);$(".main____div").css("opacity","0.5");$(".main____div").css("pointer-events","none");//$('body').css('overflow','hidden');//document.getElementsByTName("body")[0].style.overflow="hidden";$("#top-header-ad").parent().html('');$("#after-btn-left-box-ad").parent().html('');returnfalse;}else{$('body').css('overflow','auto');document.getElementsByTName("body")[0].style.overflow="auto";returntrue;}}}setTimeout(()=>{addBlocker();},1500);window.addEventListener("load",function(){letimes=[...document.getElementsByTName("img")];functiononIntersection(e){e.forEach((e)=>{e.isIntersecting&&(observer.unobserve(e.targetDùng thành từ Siêu chuẩn),(e.target.src=e.target.dataset.src),(e.target.onload=()=>e.target.classList.add("loaded")));});}letobserver=newIntersectionObserver(onIntersection);imes.forEach((e)=>observer.observe(e));});button.addEventListener("click",()=>{wrapper.classList.remove("show");$("body").css("overflow","auto");$(".main____div").css("opacity","1");$(".main____div").css("pointer-events","all");});$("label[data-toggle]").on("click",function(e){varselector=$(this).data("toggle");$("div.pkg").hide();$(selector).css('display','flex');});//varyear_sale_coupon='';//varmonth_sale_coupon='';//varyear_sale_coupon=localStore.getItem('year_sale_coupon');//varmonth_sale_coupon=localStore.getItem('month_sale_coupon');//if(year_sale_coupon!==null){//year_sale_coupon=year_sale_coupon;//}else{//year_sale_coupon='';//}//if(month_sale_coupon!==null){//month_sale_coupon=month_sale_coupon;//}else{//month_sale_coupon='';//}//$(document).ready(function(){////varuser=;//$('#buy_now_id').attr('href','store.payproglobal.com/checkout?products[1][id]=&pe-template=&langue=en¤cy=USD&payment-method=14&x-uid='+user+'&x-pid=2'+year_sale_coupon);////});$("input[type=radio]").change(function(){console.log($(this).val());if($(this).val()=="y"){}else{}});$(".plan-box").click(function(){console.log($(this).data('id'));if($(this).data('id')=="y"){$("#month-box").removeClass("active");}else{}});//.........................................constREWRITE_BTN="ParaphraseNow";functiongetsentencesData(results){varsentences=results.split(/(|[\n]|(?{btn_status("#paraphrase_now",0,"ParaphraseNow→");},2500);varelement1=document.getElementById("#input-content");varelement2=document.getElementById("#output-content");functiontouchEnd(event){for(vari=0;i{//event.preventDefault();//file_input_selector.click();//});//file_input_selector.addEventListener("change",(event)=>{//event.preventDefault();//if(file_input_selector.value!=""){//varformData=newFormData();//varddata=document.getElementById("file_input").files[0];//varajax_url=BASE_URL+"uploadfile";//formData.append("file",ddata);//varajax_data=formData;//execute_ajax_file(ajax_url,ajax_data);//}//});document.addEventListener("touchmove",function(event){for(vari=0;i{if(lang!="array"){letli=document.createElement("li");li.textContent=lang+end;returnli;}});app.append(nodes);},});}});$(document).on("click",function(e){//Iftheclickedelementisnotthemenuif(!$(e.target).parents("#list-syn").length>0){//Hideit$(".tooltip_main").hide(100);}});//Ifthemenuelementisclickeds$(document).on("click","#list-synli",function(){current.replaceWith(''+$(this).html()+"");//HideitAFTERtheactionwastriggered$(".tooltip_main").hide(100);});$(document).on("click","#list-syn.ro",function(){current.replaceWith(''+$(this).text()+"");$(".tooltip_main").hide(100);});});//FUNCTIONSfunctionshow_model(title,desc){$("#model_title").html(title);$("#model_desc").html(desc);$("#id01").fadeIn();}functioncreateRipple(event){varripple=document.createElement("span");ripple.classList.add("ripple");varmax=Math.max(this.offsetWidth,this.offsetHeight);ripple.style.width=ripple.style.height=max*2+"px";varrect=this.getBoundingClientRect();ripple.style.left=event.clientX-rect.left-max+"px";ripple.style.top=event.clientY-rect.top-max+"px";this.appendChild(ripple);setTimeout(function(){ripple.parentNode.removeChild(ripple);},5000);}//for(vari=0;i!element.classList.contains('rephrase-div'));constinnerText=filteredChildElements.map((element)=>element.innerText).join('');varsentenceText=innerText;//Createthe"Copy"buttonvarcopyButton=document.createElement('button');copyButton.className='copy-btn';copyButton.innerHTML=``;copyButton.addEventListener('click',function(){copyToClipboard(sentenceText);});varcloseButton=document.createElement('button');closeButton.className='close-btn';closeButton.innerHTML=``;closeButton.addEventListener('click',function(event){//CopythesentenceTexttotheclipboardremoveDivRephrase(event);});varbutton=document.createElement('button');button.className='show-btn';button.innerText='Rephrase';button.setAttribute("contentEditable",false);vardiv=document.createElement('div');div.className='rephrase-div';div.style.position='absolute';div.style.top=(sentenceElement.offsetTop-40)+'px';div.style.left=sentenceElement.offsetLeft+'px';div.appendChild(button);div.appendChild(copyButton);div.appendChild(closeButton);sentenceElement.appendChild(div);if(activeButton&&activeButton!==div){activeButton.remove();}activeButton=div;button.addEventListener('click',function(event){event.preventDefault(event)if(openedDiv){openedDiv.remove();openedDiv=null;}else{openedDiv=document.createElement('div');openedDiv.className='opened-div';openedDiv.innerHTML=``;openedDiv.style.position='absolute';openedDiv.style.top=(sentenceElement.offsetTop+20)+'px';//openedDiv.style.left=button.offsetLeft+'px';openedDiv.style.transform='translateX(0%)';document.getElementById('output-content').appendChild(openedDiv);//CheckifthedataattributeexistsandcontainstheAJAXresponseconstcachedResponse=sentenceElement.getAttribute('data-ajax-response');if(cachedResponse){//Ifthedataattributeexists,usethecachedresponsehandleResponse(cachedResponse,sentenceText);}else{//Ifthedataattributedoesnotexist,sendtheAJAXrequestvarlastCharacter=sentenceText.trim().slice(-1);//TrimtoremovetrailingspacesvarpunctuationMarks=['.','!','?'];//Addmorepunctuationmarksifneededif(!punctuationMarks.includes(lastCharacter)){//RemoveanytrailingspacesandaddafullstopattheendofclickedRephrasedSentenceTextsentenceText=sentenceText.trim()+'.';}$.ajax({method:"POST",url:base_url+"multi_phrase_opt",data:{text:sentenceText,lang:lang},success:function(response){event.preventDefault();//SetheAJAXresponseinthedataattributesentenceElement.setAttribute('data-ajax-response',response);handleResponse(response,sentenceText);},error:function(error){openedDiv.innerText="Erroroccurredwhilefetchingsentences.";console.error(error);}});}}});break;}clickedElement=clickedElement.parentElement;}});//...previouscode...functionhandleResponse(response,sentenceText){constsentences=JSON.parse(response);openedDiv.innerHTML=``;openedDiv.innerHTML+=sentences.map((sentence,index)=>{return''+boldNewWords(sentenceText,sentence)+'';}).join('');constrephraseDivs=openedDiv.querySelectorAll('.rephrase-sentence');rephraseDivs.forEach(rephraseDiv=>{rephraseDiv.addEventListener('click',function(){constclickedSentenceIndex=this.getAttribute('data-index');constsentenceElement=activeButton.closest('.wrapped-line');//Clonethesentenceelementtoexcludethe.show-btntextconstsentenceClone=sentenceElement.cloneNode(true);//Removethe.show-btnelementfromtheclonednodeconstshowBtnElement=sentenceClone.querySelector('.show-btn');showBtnElement.remove();constclickedSentenceText=sentenceClone.innerHTML;constclickedRephrasedSentenceText=sentences[clickedSentenceIndex];consthasSpaceAtStart=/^\s/.test(sentenceClone.innerText);//AddaspacebeforetheclickedrephrasedsentencetextifneededconstmodifiedRephrasedText=hasSpaceAtStart?''+clickedRephrasedSentenceText:clickedRephrasedSentenceText;sentenceElement.innerHTML=modifiedRephrasedText;//sentenceElement.innerHTML=clickedRephrasedSentenceText;//console.log(sentenceClone.innerText);this.innerHTML=clickedSentenceText;constwrapWordsWithSwClass=(element)=>{constwords=element.innerHTML.split('');constwrappedWords=words.map(word=>''+boldNewWords(sentenceText,word)+'');element.innerHTML=wrappedWords.join('');};wrapWordsWithSwClass(sentenceElement);vararr=$('.rephrase-sentence').map((i,e)=>e.innerText).get();sentenceElement.setAttribute('data-ajax-response',JSON.stringify(arr));openedDiv.remove();openedDiv=null;});});}document.addEventListener('click',function(event){removeDivRephrase(event);});$(document).on('click','.close-btn',function(event){removeDivRephrase(event);openedDiv.remove();openedDiv=null;});functionremoveDivRephrase(event){varclickedElement=event.target;while(clickedElement){if(clickedElement===openedDiv||clickedElement.classList.contains('show-btn')){return;}clickedElement=clickedElement.parentElement;}if(openedDiv){openedDiv.remove();openedDiv=null;}if(activeButton){activeButton.remove();activeButton=null;}}/*=========================Endcodeformultioption=========================*/functionboldNewWords(p1,p2){constwords1=newSet(p1.split(''));constnewWords=p2.split('').filter(word=>!words1.has(word));letresult1=p1;letresult2=p2;newWords.forEach(word=>{result2=result2.replace(word,`${word}`);});returnresult2;}functionanalysis_data(input_words,lang,mode,output_words,b_ts){$.ajax({async:true,url:base_url+"frontend/analysisdata",method:"post",data:{input_words:input_words,mode:mode,lang:lang,output_words:output_words,b_ts:b_ts}});}$("#select-ouput").click(function(){$("#ouput-content-box").selectText();});jQuery.fn.selectText=function(){vardoc=document;varelement=this[0];if(doc.body.createTextRange){varrange=document.body.createTextRange();range.moveToElementText(element);range.select();}elseif(window.getSelection){varselection=window.getSelection();varrange=document.createRange();range.selectNodeContents(element);selection.removeAllRanges();selection.addRange(range);}};}}$(document).on('inputchange','#output-content',function(){varoutput_text=$("#output-content").text();output_text=output_text.trim().split(/\s+/);$('#total-output-word').html("("+output_text.length+""+WORDS_TEXT+")");});/*---------------------STARTCODE::Synonymforwordchanger-------------------*/$(document).on("click",".words",function(){$(".words").removeClass("active");$(".synonyms-list").remove();if($(this).attr("data-synonyms")!=""){$(this).addClass("active");varsynonyms=$(this).attr("data-synonyms").split(";");varsynonymsList="";for(indexinsynonyms){synonymsList+=''+synonyms[index]+"";}varmarginLeft=$(".words.active").offset().left-$("#output-content").offset().left-10;//ustawiamymarginesodlewejkrawedzipolatekstowego$(this).append(''+synonymsList+"Synonyms");}});$(document).on("click",".synonyms-list.item",function(){$(".words.active").html(''+$(this).html()+'');$(".words").removeClass("active");$(".synonyms-list").remove();});$(document).click(function(e){if($(e.target).closest(".words").length==0){$(".words").removeClass("active");$(".synonyms-list").remove();}});$("body").on("click",function(e){if($(e.target).closest(".dropdown").length==0){$(".tool-bar").removeClass("visible");}$('.w3-modal').hide();});$('.w3-modal-content').on("click",function(e){e.stopPropation();});/*---------------------EndCODE::Synonymforwordchanger------------------*/functionallow_mode_check(data_value){if(data_value>2){if(IS_PREMIUM!=1){returnfalse;}}else{returntrue;}}$(document).ready(function(){varselectMode=$("#mode").val();varlistMode=$("ul.dropdown-menuli").filter('[data-value='+selectMode+']').text();$(".selected-option").text(listMode);});$(document).on("click",".selected-btn",function(){$(this).next(".dropdown-menu").slideToggle(100);$(".dropdown-icon").toggleClass("visible")});$(document).on("click",".dropdown-menuli",function(){varselectedValue=$(this).text();vardatalue=$(this).data("value");if(allow_mode_check(datalue)==false){returnfalse;}$("#mode").val(datalue);$(".selected-option").text(selectedValue);$(this).parent().hide();$(".dropdown-icon").toggleClass("visible")});varbase_url="/";$(function(){jQuery.cachedScript=function(e,c){returnc=$.extend(c||{},{dataType:"script",cache:!0,url:e}),jQuery.ajax(c)};setTimeout(()=>{ $.cachedScript('/firebasejs/7.16.1/firebase-app.js').done(function(script,textStatus){ console.log('firebaseload',textStatus); }); $.cachedScript('/firebasejs/7.16.1/firebase-messing.js').done(function(script,textStatus){ console.log('firebasemessingload',textStatus); varmycl_url="";functiongetCookie(e){returndocument.cookie&&-1!=document.cookie.indexOf(e)?decodeURIComponent(document.cookie.split(";").find(o=>o.startsWith(e+"=")).split("=")[1]):""}constfirebaseConfig={messingSenderId:"208",apiKey:"AIzaSyDZxnLLqt60MsbqIQtjWnstNMd--lYFAdc",projectId:"paraphraser-66a22",appId:"1:208:web:bbc2be0538da53cbe04b9d"};firebase.initializeApp(firebaseConfig);constmessing=firebase.messing();messing.requestPermission().then(function(){returnconsole.log("Notificationpermissiongranted."),messing.getToken()}).then(function(e){console.log(e);varo=getCookie("push_token");console.log("yeh"+o),""!=o&&"notfound"!=o?o!=e&&seTokn(e,"updated"):seTokn(e,"sed")}).catch(function(e){console.log("Unabletogetpermissiontonotify.",e)});letenableForegroundNotification=!0;varcurrent_base_url="/";functionseTokn(e,o){varn={submit:!0,token:e,state:o,reg_pe:current_base_url};$.post(base_url+"frontend/sePushToken",n).done(e=>console.log("token",o))}messing.onMesse(function(e){console.log("Messereceived.",e);varo=JSON.parse(e.data.notification);if(mycl_url=o.click_action,enableForegroundNotification){const{title:o,...n}=JSON.parse(e.data.notification);nigator.serviceWorker.getRegistrations().then(e=>{e[0].showNotification(o,n)})}}); });},);});