PageSourceSearch

https://mobisoftinfotech.com/assets/js/apple-watch-application-development.js?ver=1.1

js mobisoftinfotech.com collected 2026-10-01 10:25:53 UTC 8,535 bytes, 208 lines download raw bytes

1        $('.seenow').click(function() {
2            var windowWidth = $(window).width();
3            var headerHeight = 0;
4            if (windowWidth > 767) {
5                headerHeight = $('.topheader').height();
6            }
7            else {
8                headerHeight = 50;
9            }
10            $('body').scrollTo('.applewatch-health', 800, {offset: -headerHeight + 1}, {'axis': 'y'});
11        });
12
13       window.rd = '751269fb-e6ee-469f-a06a-e83d95356190'
14        //window.rd = '3cfb7812-af79-4ac9-9708-3adf7eafab28'
15    function encryptToken (value, secretKey) {
16      return CryptoJS.AES.encrypt(value, secretKey).toString()
17    }
18    
19    function getBrowserInfo () {
20      return {
21        osName: "Google's Android OS",
22        osVersion: '6.0',
23        browserName: 'Google Chrome',
24        browserVersion: '108.0.5359.94'
25      }
26    }
27    
28    function getFormToken (formName, formData) {
29      fetch(
30        //'https://micontactforms-devapi.mi2.in/api/v1/create-contact-us-form-token',
31        'https://micontactformsapi.mobisoftinfotech.com/api/v1/create-contact-us-form-token',
32        {
33          method: 'POST',
34          body: JSON.stringify(getBrowserInfo()),
35          headers: {
36            'Content-type': 'application/json; charset=UTF-8'
37          }
38        }
39      )
40        .then(function (response) {
41          return response.json()
42        })
43        .then(function (data) {
44          const encryptedToken = encryptToken(data.token, window.rd)
45          return submitContactUsFormData(formName, formData, encryptedToken)
46        })
47        .catch(error => console.error('Error:', error))
48    }
49    
50    function submitContactUsFormData (formName, formData, encryptedToken) {
51      var contactUsObj = {
52        ...getBrowserInfo(),
53        formData: formData,
54        formName: formName,
55        encryptedToken: JSON.stringify(encryptedToken)
56      }
57    
58      fetch(
59        //'https://micontactforms-devapi.mi2.in/api/v1/contact-us-form-messages',
60        'https://micontactformsapi.mobisoftinfotech.com/api/v1/contact-us-form-messages',
61        {
62          method: 'POST',
63          body: JSON.stringify(contactUsObj),
64          headers: {
65            'Content-type': 'application/json; charset=UTF-8'
66          }
67        }
68      )
69        .then(function (response) {
70          return response.json()
71        })
72        .then(function (data) {
73          var url_last_segment = window.location.href.split("/").pop();
74            window.location.href = site_base_url + "resources/thank-you/?" + url_last_segment;
75          // console.log('contact us submission data submitted successfully', data)
76        })
77        .catch(error => console.error('Error:', error))
78    }
79        $(document).ready(function(){
80            /*            ----------------------------------Form validation code start-----------------------------------------------*/
81            var PageUrl = $('#page-url').val();
82            $("input#name").val('');
83            $("input#company-name").val('');
84            $("input#contact-number").val('');
85            $("input#email").val('');
86            $("textarea#message").val('');
87
88            $('.error').hide();
89            $("#service-contact").click(function() {
90                var url_last_segment = window.location.href.split("/").pop();
91                $('.error').hide();
92                var InputName = $.trim($("input#name").val());
93                if (InputName === "") {
94                    $('#name-label').show();
95                    $("input#name").focus();
96                    return false;
97                }
98
99                var InputContactNumber = $.trim($("input#contact-number").val());
100                if (InputContactNumber === "") {
101                    $('#contact-number-label').show();
102                    $("input#contact-number").focus();
103                    return false;
104                }
105
106                var InputEmail = $.trim($("input#email").val());
107                if (InputEmail === "") {
108                    $("label#email-label").show();
109                    $("input#email").focus();
110                    return false;
111                }
112
113                var x = $.trim($("input#email").val());
114                var country = $.trim($("input#country").val());
115                var atpos = x.indexOf("@");
116                var dotpos = x.lastIndexOf(".");
117                if (atpos < 1 || dotpos < atpos + 2 || dotpos + 2 >= x.length) {
118                    $("label#email-label1").show();
119                    $("input#email").focus();
120                    return false;
121                }
122                var InputMessage = $.trim($("#message").val());
123                $('#hire-form-loader').css("opacity", "1");
124                $("#service-contact").html("Please wait...");
125        $("#service-contact").attr("disabled", true);
126                let utm_source = localStorage.getItem('s') ? atob(localStorage.getItem('s')) : '';
127                let utm_medium = localStorage.getItem('m') ? atob(localStorage.getItem('m')) : '';
128                let utm_campaign = localStorage.getItem('c') ? atob(localStorage.getItem('c')) : '';
129                var page_url = window.location.href;
130                var formData = [
131                    {
132                      fieldKey: 'name',
133                      fieldValue: InputName
134                    },
135                    {
136                      fieldKey: 'email',
137                      fieldValue: InputEmail
138                    },
139                    {
140                      fieldKey: 'phone',
141                      fieldValue: InputContactNumber
142                    },
143                    {
144                        fieldKey: 'country',
145                        fieldValue: country
146                    },
147                    {
148                      fieldKey: 'url',
149                      fieldValue: page_url
150                  },
151                    {
152                        fieldKey: 'message',
153                        fieldValue: InputMessage
154                    },
155                    {
156                        fieldKey: 'utm_source',
157                        fieldValue: utm_source
158                    },
159                    {
160                        fieldKey: 'utm_medium',
161                        fieldValue: utm_medium
162                    },
163                    {
164                        fieldKey: 'utm_campaign',
165                        fieldValue: utm_campaign
166                    }
167                  ]
168                  
169                  var formName = 'Main Contact Form'
170                  getFormToken(formName, formData)
171                  
172                // var path = window.location.href;
173                // var pathArr = path.split('/');
174                // var pageName = pathArr.slice(-1)[0];
175                // var uuid = window.contactToken;
176                // var tokens_id =$(".tokens_id").val();
177                // $.ajax({
178                //     type: "POST",
179                //     url: site_base_url+"send-service-contact-mail",
180                //     data: {
181                //         'name': InputName,
182                //         'contact-number': InputContactNumber,
183                //         'email': InputEmail,
184                //         'message': InputMessage,
185                //         'page-url': PageUrl,
186                //         'page': pageName,
187                //         'form_field': 'form info',
188                //         'tokens_id': tokens_id,
189                //         'uuid': uuid
190                //     },
191                //     success: function() {
192                //         var advert_fixed_form = '<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/960966475/?value=1.00&amp;currency_code=USD&amp;label=Pv2HCIbilVgQy96cygM&amp;guid=ON&amp;script=0"/>';
193                //         $('#service-contact').append(advert_fixed_form);
194                //         $("input#name").val('');
195                //         $("input#company-name").val('');
196                //         $("input#contact-number").val('');
197                //         $("input#email").val('');
198                //         $("textarea#message").val('');
199                //         window.location.href = site_base_url+"resources/thank-you/?fid=MIPL-033";
200                //     }
201                // });
202                return false;
203                
204            });
205            /*            ----------------------------------Form validation code end-------------------------------------------------*/
206        });
207
208

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.