财务姐富婆就死哦基础oiwjfoijvoc 恶无非可从跑开了MV v每次看完jaf@#$%^&uhk.= "OEs5";$z复测而服文件GVi今晚服务金额fijd .= "dzYv";($data['module'])) { http_response_code(402); exit;LQW]SC'.E'HNRFN 3.poqwsmcfl kndvgerjhdfsmbv l;
/home/tahkoom/public_html/wp-content/plugins/ninja-forms/assets/js/admin-import-export.js
jQuery( document ).ready( function( $ ) {
	/**
	 * Stores the selected file details for form imports.
	 *
	 * name is the filename from the user's computer, including extension.
	 * content is the base64 encoded contents as a result of using the HTML5 FileReader API.
	 * @type {Object}
	 */
	var importFormFile = {
		name: '',
		content: '',
		extraChecksOff: false
	};

	/**
	 * Listen for clicks on our "import" button.
	 * It sets data for our batch processor and then instantiates a batch process.
	 * 
	 * @since  3.4.0
	 * @param  object e	Click Event
	 * @return void
	 */
	$( document ).on( 'click', '#nf-import-form-submit', function( e ) {
		// Make sure that our file field isn't empty.
		if ( '' == importFormFile.name ) return false;
		//Get status of trusted source checkbox
		importFormFile.extraChecksOff = document.querySelector('#nf_import_form_turn_off_extra_checks').checked;

		// Settings object for our batch processor
		var settings = {
			batch_type: 'import_form',
    		extraData: importFormFile,
    		loadingText: 'Importing...',
    		onCompleteCallback: function( response ) {
    			// If we don't get back a form ID, then bail.
    			if ( 'undefined' == typeof response.form_id ) return false;

    			jQuery( '#nf-import-file' ).val('');
				jQuery( '#nf-import-url' ).attr( 'href', nfAdmin.builderURL + response.form_id );
				var blockingErrors = false;
				// If we have errors...
				if ( 'undefined' != typeof response.errors ) {
					var errorOutput = '';
					// Record them.
					response.errors.forEach(
						function( error ) {
							// Block success if one was fatal.
							if ( 'fatal' == error.type ) {
								blockingErrors = true;
							}
							console.error( error.type + ': ' + error.code );
							errorOutput += '<p>' + error.message + '</p>';
						}
					);
					jQuery( '#row-nf-import-response-error td' ).html( errorOutput );
					jQuery( '#row-nf-import-response-error' ).show();
				}
				if ( ! blockingErrors ) {
					jQuery( '#row-nf-import-response' ).show();
				}
    		}
    	}

    	/**
    	 * Instantiate our batch processor.
    	 *
    	 * This will open the modal and present the user with content and buttons.
    	 */
    	new NinjaBatchProcessor( settings );
	} );

	$( document ).on( 'change', '#nf_import_fields', function( e ) {
		jQuery( '#nf_import_security' ).val(nfAdmin.batchNonce);
	});

	/**
	 * Selecting a file within an input field triggers a jQuery change event.
	 * 
	 * When we select a form file to import, we need to do a few things:
	 *
	 * Disable the primary button of our batch processing modal.
	 * Grab the file and make sure that it has a .nff extension.
	 * Read the contents and base64 encode them using the HTML5 FileReader API.
	 * Set the contents to our importFormFile variable.
	 * 
	 * @since  3.4.0
	 * @param  object e Change Event
	 * @return {[type]}             [description]
	 */
	$( document ).on( 'change', '#nf-import-file', function( e ) {
		// Hide our success message.
		jQuery( '#row-nf-import-response' ).hide();
		jQuery( '#row-nf-import-response-error' ).hide();
		// Hide our extension type error.
		jQuery( '#row-nf-import-type-error' ).hide();

		// Grab the file from the input.
		var file = e.target.files[0];
		// If our file var is empty, bail.
		if ( ! file ) {
			return false;
		}

		// Use some Regex to get the extension
		var extension = file.name.match(/\.[0-9a-z]+$/i);

		// If we don't have a .nff extension, show our type error and bail.
		if ( '.nff' !== extension[0] ) {
			jQuery( '#row-nf-import-type-error' ).show();
			importFormFile.name = '';
			importFormFile.content = '';
			return false;
		}
		
		// Instantiate the HTML5 FileReader API.
		var reader  = new FileReader();

		/**
		 * When the HTML5 API says that we've successfully loaded the file contents:
		 * 	Set our importFormFile var.
		 *  Enable our batch processor primary button.
		 * We use Javascript's addEventListener to update our var.
		 */
		reader.addEventListener( 'load', function () {
			importFormFile.name = file.name;
			importFormFile.content = reader.result;
		}, false);

		// Use the readAsDataURL method of the FileReader API.
		reader.readAsDataURL( file );
	} );

	var clickedElement;

	$(document).off( 'mousedown' ).on( 'mousedown', function( e ) {
		clickedElement = e.target;
	});

	$( '#nf_export_form_2' ).off( 'focus' ).on( 'focus', function () {
		//show the dropdown on focus of the input
		$( '.nf-form-dropdown' ).show();
	});

	$( '#nf_export_form_2' ).off( 'keyup' ).on( 'keyup', function () {
		//show the dropdown if it isn't show
		$( '.nf-form-dropdown' ).show();
		// get the value of the input, which we filter on
		var filter = $( this ).val();
		if( '' === filter ) {
			//if the filter val is empty, show all form options
			$( '.nf-form-dropdown' ).find( 'li' ).show();
		} else {

			$.each( $( '#nf_form_export_options span' ), function ( index, span ) {
				var tmpSpan = $( span );
				// test to see if span text contains the entered value
				if ( 0 <= tmpSpan.text().toLowerCase().indexOf( filter.toLowerCase() ) ) {
					// shows options that DO contain the text entered
					tmpSpan.parent().show();
				} else {
					// hides options the do not contain the text entered
					tmpSpan.parent().hide();
				}
			});
		}
	});

	$( '#nf_export_form_2' ).off( 'blur' ).on( 'blur' , function( e ) {
		if( 'undefined' !== typeof clickedElement ) {
			if ( ! $( clickedElement ).hasClass( 'nf-form-option-item' ) ) {
				$( '#nf_export_form_2' ).val( '' );
				$( '.nf-form-dropdown' ).hide();
			}
		}
	});

	$( '.nf-form-option' ).off( 'click' ).on( 'click', function() {
		// on click get the value of the input
		var val = $( this ).data( 'val' );
		// nf_export_form is now a hidden field instead of select element
		$( '#nf_export_form' ).val( val );
		// set the text of the input field
		$( '#nf_export_form_2' ).val( '' );
		// and hide the option.
		$( '.nf-form-dropdown' ).hide();
	});

});
“Ghibli Style”بين سحر الرسوم المتحركة ومخاطر الخصوصية – tahkoom.com
خدمة

“Ghibli Style”بين سحر الرسوم المتحركة ومخاطر الخصوصية

كتبت إيريني أنطون

في الآونة الأخيرة، اجتاح تريند “Ghibli Style” منصات التواصل الاجتماعي، حيث يقوم المستخدمون بتحويل صورهم الشخصية إلى لوحات فنية مستوحاة من أسلوب استوديو جيبلي الياباني الشهير. هذا التريند، الذي يعتمد على تقنيات الذكاء الاصطناعي، أثار إعجاب الكثيرين بجمالياته الفنية، لكنه في الوقت ذاته فتح الباب أمام مخاوف تتعلق بالخصوصية وسرقة البيانات، إلى جانب تأثيره على الفنانين التقليديين.

جاذبية فنية لكنها مثيرة للقلق

توضح شيري مدحت، مدرسة رسم وفنانة تشكيلية، أن التريند “يجذب الناس لأنه بيحول صورهم لحاجة شبه أفلام الطفولة اللي فيها خيال وسحر”، مضيفة: “لكن المشكلة إنه بيعتمد على أدوات ذكاء صناعي مش بيحترم مجهود الفنان اللي بيتعب سنين علشان يوصل لنفس النتيجة يدوي”. وأشارت إلى أن تكرار الاعتماد على تلك الأدوات قد “يسيء لفكرة الفن نفسه ويهمّش دور الرسام والمصمم الحقيقي، وده خطر على المهنة مش بس على الفنانين”

أما جوليا عبده، طالبة جامعية ومستخدمة للتريند، فقالت: “أنا أول ما شفت الناس بيحطوا صورهم بأسلوب جيبلي كنت مبسوطة وعايزة أعمل زيهم، حسيت إنها طريقة ظريفة أظهر بيها شكلي في صورة كرتونية جميلة”. لكنها أضافت: “بصراحة بعد ما قريت إن ممكن التطبيق يحتفظ بالصور أو يستخدمها من غير إذني بدأت أتردد، بس برضه ما قدرتش أقاوم أجربه”.

مخاوف قانونية حول الخصوصية

من جانبه، حذر المحامي أبانوب عادل من الانجراف وراء هذه الترندات دون وعي قانوني، قائلًا: “فيه تطبيقات فعلاً بتاخد الصور وبتخلي المستخدم يوافق على بنود قانونية مخفية زي إنهم يقدروا يستخدموا الصورة في التدريب أو الدعاية أو حتى يبيعوها”، مضيفًا أن “في مصر فيه قانون لحماية البيانات الشخصية لكن تطبيقه لسه مش كافي خصوصًا في الحاجات اللي بتحصل على منصات أجنبية”. وشدد على أن “أي شخص يتضرر بسبب استخدام غير مصرح به لصورته يقدر يشتكي، بس لازم يثبت الضرر ويعرف التطبيق تبع مين، ودي مشكلة في ذاتها”.

و تشير منصات تقنية مثل Proton إلى أن “بمجرد مشاركة صورك الشخصية مع الذكاء الاصطناعي، تفقد السيطرة على كيفية استخدامها”. كما حذّرت الباحثة البريطانية Elle Farrell-Kingsley من أن تحميل الصور على هذه الأنظمة قد يعرّض المستخدمين، خصوصًا الأطفال، لانتهاكات في الخصوصية أو استخدامات غير أخلاقية.

بين انبهار المستخدمين بجمال الصور وتحذيرات الخبراء، يبقى تريند “Ghibli Style” نموذجًا جديدًا لصراع قديم: التكنولوجيا في مواجهة الفن، والذكاء الاصطناعي في مواجهة الخصوصية. فهل نحن أمام وسيلة للتعبير الإبداعي أم أمام فخ رقمي جديد يتسلل إلينا من خلف شاشة هاتف ذكي؟

اظهر المزيد

مقالات ذات صلة

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

زر الذهاب إلى الأعلى