HEX
Server: LiteSpeed
System: Linux server214.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: bigisxfd (746)
PHP: 8.4.15
Disabled: NONE
Upload Files
File: /home/bigisxfd/public_html/old/wp-content/plugins/wp-fsqm-pro/static/front/js/sayt.jquery.min.js
/*!
* eForm - WordPress Form Builder
*
* Autogenerated by Grunt on: 2023-03-12
* @version 4.15.1
* @author Swashata Ghosh (WPQuark)
* @license GPL-3.0
*/
/*
 *******************************************************************************
 *
 * sayt - Save As You Type
 *
 *******************************************************************************
 *
 * This plugin autosaves form input as it is being entered by the
 * user. It is saved to a cookie during each keyup and change.
 *
 * When a page is reloaded for any reason, the form data is automatically
 * re-entered for the user by reading the cookie. The cookie can be deleted
 * on the fly by the plugin if required.
 *
 *******************************************************************************
 *
 * Intructions:
 * By: Ben Griffiths, ben@ben-griffiths.com
 * Version: 1.4.3
 *
 * Dependencies:
 *
 * jquery-cookie 1.0.0 (Relies on the jQuery Cookie plugin https://github.com/carhartl/jquery-cookie)
 * - Included.
 *
 *******************************************************************************
 * @license    MIT
 * Licensed under The MIT License (MIT)
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.opensource.org/licenses/mit-license.php
 *
 * Copyright (c) 2011 Ben Griffiths (mail@thecodefoundryltd.com)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 *******************************************************************************
 * This file has been modified by Swashata Ghosh (2016 - YYYY)
 */
!function(e){e.fn.sayt=function(t){var a,n=e.extend({prefix:"autosaveFormCookie-",erase:!1,days:3,autosave:!0,savenow:!1,recover:!1,autorecover:!0,checksaveexists:!1,exclude:[]},t),i=this,r=n.prefix+i.attr("id");function o(t,a){var n,i=e.extend({},t);(n=a.length?i.find("[data-sayt-exclude], "+a.join(", ")):i.find("[data-sayt-exclude]")).each(function(){e(this).data("saytTempDisState",e(this).prop("disabled")),e(this).prop("disabled",!0)});var r=i.serializeArray();return n.each(function(){e(this).prop("disabled",e(this).data("saytTempDisState"))}),r}function u(e){var t="";jQuery.each(e,function(e,a){t=t+a.name+":::--FIELDANDVARSPLITTER--:::"+a.value+":::--FORMSPLITTERFORVARS--:::"}),"undefined"!=typeof Storage?localStorage.setItem(r,t):Cookies.set(r,t,{expires:n.days})}if(1==n.erase)return"undefined"!=typeof Storage?localStorage.removeItem(r):Cookies.remove(r),!0;if(a="undefined"!=typeof Storage?localStorage.getItem(r):Cookies.get(r),1==n.checksaveexists)return!!a;if(1==n.savenow)return u(o(i,n.exclude)),!0;if(1==n.autorecover||1==n.recover){if(a){var s=a.split(":::--FORMSPLITTERFORVARS--:::"),c={};e.each(s,function(t,a){var n=a.split(":::--FIELDANDVARSPLITTER--:::");""!=e.trim(n[0])&&(e.trim(n[0])in c?c[e.trim(n[0])]=c[e.trim(n[0])]+":::--MULTISELECTSPLITTER--:::"+n[1]:c[e.trim(n[0])]=n[1])}),e.each(c,function(t,a){if((-1!==(r=(a+"").indexOf(":::--MULTISELECTSPLITTER--:::",i||0))&&r)>0){var n=a.split(":::--MULTISELECTSPLITTER--:::");e.each(n,function(a,n){e('input[name="'+t+'"], select[name="'+t+'"], textarea[name="'+t+'"]').find('[value="'+n+'"]').prop("selected",!0),e('input[name="'+t+'"][value="'+n+'"], select[name="'+t+'"][value="'+n+'"], textarea[name="'+t+'"][value="'+n+'"]').prop("checked",!0)})}else e('input[name="'+t+'"], select[name="'+t+'"], textarea[name="'+t+'"]').val([a]);var i,r})}if(1==n.recover)return!0}1==n.autosave&&("function"==typeof jQuery.debounce?this.on("change keyup","input, select, textarea",jQuery.debounce(500,function(){setTimeout(function(){u(o(i,n.exclude))},400)})):this.on("change keyup","input, select, textarea",function(){u(o(i,n.exclude))}))}}(jQuery);